Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001484/0.001484, allocations: 103.4 kB / 16.41 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 187 kB / 17.34 MB, free: 5.691 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8441/0.8441, allocations: 135.2 MB / 426.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 74.47 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1626, allocations: 80.93 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00158/0.1642, allocations: 0.5172 MB / 0.6658 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001913/0.1643, allocations: 51.8 kB / 0.6659 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.1644, allocations: 0 / 0.6659 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.1644, allocations: 0 / 0.6659 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.1646, allocations: 0 / 0.6659 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.826e-05/0.1646, allocations: 7.938 kB / 0.6659 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.1647, allocations: 15.92 kB / 0.6659 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.1647, allocations: 4 kB / 0.6659 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.1648, allocations: 7.984 kB / 0.6659 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.1648, allocations: 7.984 kB / 0.6659 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1648, allocations: 0 / 0.6659 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.1649, allocations: 0 / 0.6659 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.1649, allocations: 7.938 kB / 0.6659 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.1649, allocations: 4 kB / 0.6659 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.241e-05/0.165, allocations: 11.92 kB / 0.666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.165, allocations: 0 / 0.666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.165, allocations: 0 / 0.666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.165, allocations: 4 kB / 0.666 GB, free: 5.117 MB / 0.4981 GB 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.0004486/0.1655, allocations: 331.5 kB / 0.6663 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1655, allocations: 9.109 kB / 0.6663 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.1655, allocations: 0.9375 kB / 0.6663 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1657, allocations: 176.4 kB / 0.6665 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1657, allocations: 8.25 kB / 0.6665 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1658, allocations: 4.328 kB / 0.6665 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.806e-05/0.1659, allocations: 37.62 kB / 0.6665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1659, allocations: 4 kB / 0.6665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1659, allocations: 0 / 0.6665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1659, allocations: 0 / 0.6665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.1659, allocations: 4 kB / 0.6665 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.1661, allocations: 153.7 kB / 0.6667 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.1661, allocations: 18.52 kB / 0.6667 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.1661, allocations: 15.84 kB / 0.6667 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1662, allocations: 3.938 kB / 0.6667 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1662, allocations: 38.56 kB / 0.6667 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1662, allocations: 0 / 0.6667 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.1663, allocations: 41.69 kB / 0.6668 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1664, allocations: 51.41 kB / 0.6668 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1665, allocations: 109.8 kB / 0.6669 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1665, allocations: 25.7 kB / 0.6669 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.1665, allocations: 88.08 kB / 0.667 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.1666, allocations: 8.062 kB / 0.667 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.1666, allocations: 17.7 kB / 0.6671 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1667, allocations: 314.8 kB / 0.6674 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.1668, allocations: 8 kB / 0.6674 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.1668, allocations: 21.7 kB / 0.6674 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.1668, allocations: 21.78 kB / 0.6674 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1668, allocations: 0 / 0.6674 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.979e-05/0.1669, allocations: 57.52 kB / 0.6675 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1669, allocations: 4 kB / 0.6675 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1669, allocations: 0 / 0.6675 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1669, allocations: 0 / 0.6675 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.167, allocations: 8.234 kB / 0.6675 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.167, allocations: 4 kB / 0.6675 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.167, allocations: 4 kB / 0.6675 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.167, allocations: 0 / 0.6675 GB, free: 3.332 MB / 0.4981 GB 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 8.371e-05/0.1671, allocations: 113.9 kB / 0.6676 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.1671, allocations: 3.938 kB / 0.6676 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.1672, allocations: 56.73 kB / 0.6676 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1672, allocations: 0 / 0.6676 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1672, allocations: 0 / 0.6676 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1673, allocations: 3.984 kB / 0.6677 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1674, allocations: 153.7 kB / 0.6678 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1674, allocations: 3.938 kB / 0.6678 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.1674, allocations: 4.031 kB / 0.6678 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1674, allocations: 7.938 kB / 0.6678 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.1674, allocations: 0 / 0.6678 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1674, allocations: 4 kB / 0.6678 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1674, allocations: 0 / 0.6678 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1676, allocations: 85 kB / 0.6679 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.1676, allocations: 81.05 kB / 0.668 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1676, allocations: 4.031 kB / 0.668 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.1677, allocations: 4.094 kB / 0.668 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.1677, allocations: 3.984 kB / 0.668 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.1677, allocations: 0 / 0.668 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.1677, allocations: 87.28 kB / 0.6681 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.1677, allocations: 3.938 kB / 0.6681 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001831/0.1679, allocations: 4 kB / 0.6681 GB, free: 2.613 MB / 0.4981 GB 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 0.0001231/0.168, allocations: 95.23 kB / 0.6682 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.856e-05/0.1681, allocations: 12 kB / 0.6682 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1681, allocations: 0 / 0.6682 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.861e-05/0.1681, allocations: 15.92 kB / 0.6682 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1683, allocations: 7.938 kB / 0.6682 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.1686, allocations: 147 kB / 0.6683 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1689, allocations: 0.6768 MB / 0.669 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.1689, allocations: 11.44 kB / 0.669 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1689, allocations: 0 / 0.669 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.001906/0.1708, allocations: 0.5038 MB / 0.6695 GB, free: 1.078 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)