Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7055/0.7055, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.66 kB / 0.5018 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4146, allocations: 80.21 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001694/0.4164, allocations: 0.5162 MB / 0.5806 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001745/0.4166, allocations: 38.59 kB / 0.5806 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.4166, allocations: 0 / 0.5806 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.4167, allocations: 1.031 kB / 0.5806 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.4168, allocations: 4.906 kB / 0.5806 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.085e-05/0.4168, allocations: 15.36 kB / 0.5806 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.753e-05/0.4169, allocations: 5.797 kB / 0.5807 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.417, allocations: 6.531 kB / 0.5807 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.417, allocations: 6.312 kB / 0.5807 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.4171, allocations: 10.8 kB / 0.5807 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.4171, allocations: 0.7812 kB / 0.5807 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-06/0.4171, allocations: 0.9688 kB / 0.5807 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.4171, allocations: 7.344 kB / 0.5807 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.4172, allocations: 9.984 kB / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.055e-05/0.4172, allocations: 6.188 kB / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4172, allocations: 4 kB / 0.5807 GB, free: 4.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4172, allocations: 0 / 0.5807 GB, free: 4.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.4173, allocations: 0.8125 kB / 0.5807 GB, free: 4.148 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003065/0.4176, allocations: 331.3 kB / 0.581 GB, free: 3.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4176, allocations: 14.27 kB / 0.581 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.4176, allocations: 1.688 kB / 0.581 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.4178, allocations: 173.7 kB / 0.5812 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.4178, allocations: 1.219 kB / 0.5812 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4178, allocations: 1.281 kB / 0.5812 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.219e-05/0.4179, allocations: 39.78 kB / 0.5812 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4179, allocations: 1.297 kB / 0.5812 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.4179, allocations: 4 kB / 0.5812 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4179, allocations: 4.781 kB / 0.5812 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.946e-05/0.4179, allocations: 7.547 kB / 0.5813 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.4181, allocations: 149.9 kB / 0.5814 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.446e-05/0.4181, allocations: 22.66 kB / 0.5814 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.4181, allocations: 12.16 kB / 0.5814 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.4181, allocations: 0.5312 kB / 0.5814 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.4182, allocations: 36.3 kB / 0.5815 GB, free: 3.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.4182, allocations: 0 / 0.5815 GB, free: 3.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.4183, allocations: 44.94 kB / 0.5815 GB, free: 3.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.4183, allocations: 52.11 kB / 0.5816 GB, free: 3.172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.09e-05/0.4184, allocations: 107.5 kB / 0.5817 GB, free: 3.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-06/0.4184, allocations: 27.23 kB / 0.5817 GB, free: 3.039 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.4184, allocations: 89.02 kB / 0.5818 GB, free: 2.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.4184, allocations: 5.156 kB / 0.5818 GB, free: 2.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.4185, allocations: 13.12 kB / 0.5818 GB, free: 2.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.4185, allocations: 317.5 kB / 0.5821 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.4185, allocations: 4.172 kB / 0.5821 GB, free: 2.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.4186, allocations: 14.56 kB / 0.5821 GB, free: 2.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.4186, allocations: 31.73 kB / 0.5821 GB, free: 2.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4186, allocations: 1.375 kB / 0.5821 GB, free: 2.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.057e-05/0.4187, allocations: 44.41 kB / 0.5822 GB, free: 2.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4187, allocations: 7.391 kB / 0.5822 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.4187, allocations: 3.938 kB / 0.5822 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4187, allocations: 4.453 kB / 0.5822 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.568e-05/0.4188, allocations: 3.984 kB / 0.5822 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4188, allocations: 1.703 kB / 0.5822 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.4188, allocations: 5.438 kB / 0.5822 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.4188, allocations: 5.375 kB / 0.5822 GB, free: 2.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.4189, allocations: 113 kB / 0.5823 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.4189, allocations: 5.812 kB / 0.5823 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.785e-05/0.419, allocations: 49.17 kB / 0.5824 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.419, allocations: 0 / 0.5824 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.419, allocations: 0.7812 kB / 0.5824 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.419, allocations: 0.7031 kB / 0.5824 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.62e-05/0.4191, allocations: 155.1 kB / 0.5825 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4191, allocations: 0 / 0.5825 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.4191, allocations: 12.27 kB / 0.5825 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4191, allocations: 0.7031 kB / 0.5825 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4192, allocations: 0.6875 kB / 0.5825 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4192, allocations: 1.062 kB / 0.5825 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4192, allocations: 0.9531 kB / 0.5825 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.4193, allocations: 85.14 kB / 0.5826 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.4193, allocations: 82.95 kB / 0.5827 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.4193, allocations: 4.719 kB / 0.5827 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.4193, allocations: 2.047 kB / 0.5827 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.4194, allocations: 5.875 kB / 0.5827 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.4194, allocations: 1.156 kB / 0.5827 GB, free: 1.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.164e-05/0.4194, allocations: 88.25 kB / 0.5828 GB, free: 1.898 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4194, allocations: 0 / 0.5828 GB, free: 1.898 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.4196, allocations: 2.125 kB / 0.5828 GB, free: 1.898 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.906e-05/0.4197, allocations: 106.1 kB / 0.5829 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.4198, allocations: 15.92 kB / 0.5829 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4198, allocations: 1.094 kB / 0.5829 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.4198, allocations: 6.422 kB / 0.5829 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.4199, allocations: 5.797 kB / 0.5829 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.4202, allocations: 113.6 kB / 0.583 GB, free: 1.684 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.033e-05/0.4203, allocations: 0.6853 MB / 0.5837 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.611e-05/0.4203, allocations: 3.828 kB / 0.5837 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.4203, allocations: 9.281 kB / 0.5837 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4203, allocations: 0 / 0.5837 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of Templates: time 0.001919/0.4222, allocations: 314.5 kB / 0.584 GB, free: 0.918 MB / 430.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)