Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005687/0.005687, allocations: 103.7 kB / 15.73 MB, free: 6.039 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.0013/0.0013, allocations: 194 kB / 16.67 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8384/0.8384, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.17 kB / 0.5813 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.171, allocations: 80.21 MB / 0.6597 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.00182/0.1728, allocations: 0.5015 MB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.173, allocations: 23.89 kB / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.173, allocations: 0 / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1731, allocations: 0 / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1732, allocations: 0 / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.382e-06/0.1732, allocations: 0 / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.685e-05/0.1733, allocations: 11.88 kB / 0.6602 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.774e-05/0.1733, allocations: 8 kB / 0.6602 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.1734, allocations: 0 / 0.6602 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.1734, allocations: 7.984 kB / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1734, allocations: 0 / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-06/0.1734, allocations: 0 / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1734, allocations: 0 / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.1735, allocations: 4 kB / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.892e-05/0.1735, allocations: 7.922 kB / 0.6602 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1735, allocations: 0 / 0.6602 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1735, allocations: 4 kB / 0.6602 GB, free: 13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1735, allocations: 0 / 0.6602 GB, free: 13 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000293/0.1738, allocations: 311.6 kB / 0.6605 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1739, allocations: 11.97 kB / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.1739, allocations: 0.9375 kB / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1741, allocations: 164.4 kB / 0.6607 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1741, allocations: 384 / 0.6607 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1741, allocations: 4.375 kB / 0.6607 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.732e-05/0.1742, allocations: 47.3 kB / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.1742, allocations: 8 kB / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.1742, allocations: 0 / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1742, allocations: 0 / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.1743, allocations: 0 / 0.6607 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.1744, allocations: 158.5 kB / 0.6609 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.927e-05/0.1745, allocations: 37.22 kB / 0.6609 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.1745, allocations: 17.72 kB / 0.6609 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.1745, allocations: 8 kB / 0.6609 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.1746, allocations: 34.55 kB / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1746, allocations: 0 / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/0.1747, allocations: 41.64 kB / 0.661 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1748, allocations: 81.11 kB / 0.6611 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.006e-05/0.1748, allocations: 94.11 kB / 0.6612 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1748, allocations: 25.7 kB / 0.6612 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.1749, allocations: 84.08 kB / 0.6613 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.1749, allocations: 11.83 kB / 0.6613 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.175, allocations: 14.06 kB / 0.6613 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1751, allocations: 314.8 kB / 0.6616 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.1751, allocations: 4 kB / 0.6616 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.1751, allocations: 17.72 kB / 0.6616 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.151e-05/0.1752, allocations: 13.72 kB / 0.6616 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1752, allocations: 0 / 0.6616 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.686e-05/0.1753, allocations: 53.56 kB / 0.6617 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1753, allocations: 10.28 kB / 0.6617 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1753, allocations: 0 / 0.6617 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1753, allocations: 0 / 0.6617 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.1754, allocations: 4.125 kB / 0.6617 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1754, allocations: 4 kB / 0.6617 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.1754, allocations: 0 / 0.6617 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1754, allocations: 4 kB / 0.6617 GB, free: 11.2 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.217e-05/0.1755, allocations: 110.5 kB / 0.6618 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.1755, allocations: 7.938 kB / 0.6618 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.1756, allocations: 48.75 kB / 0.6619 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1757, allocations: 4.062 kB / 0.6619 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1757, allocations: 0 / 0.6619 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1757, allocations: 0 / 0.6619 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.593e-05/0.1758, allocations: 157.6 kB / 0.662 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1758, allocations: 0 / 0.662 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.1758, allocations: 15.86 kB / 0.662 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1758, allocations: 0 / 0.662 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1758, allocations: 0 / 0.662 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1758, allocations: 0 / 0.662 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1758, allocations: 0 / 0.662 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.073e-05/0.1759, allocations: 81.97 kB / 0.6621 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.176, allocations: 81.05 kB / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.176, allocations: 0 / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.176, allocations: 0 / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.176, allocations: 4 kB / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.176, allocations: 0 / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.1761, allocations: 85.5 kB / 0.6623 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1761, allocations: 4.031 kB / 0.6623 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002163/0.1763, allocations: 4 kB / 0.6623 GB, free: 10.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001095/0.1764, allocations: 91.25 kB / 0.6624 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.843e-05/0.1765, allocations: 11.98 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1765, allocations: 0 / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.1765, allocations: 7.938 kB / 0.6624 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1767, allocations: 8.188 kB / 0.6624 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.1769, allocations: 95.88 kB / 0.6625 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.1771, allocations: 0.6729 MB / 0.6632 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.573e-05/0.1771, allocations: 3.938 kB / 0.6632 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.1772, allocations: 7.438 kB / 0.6632 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1772, allocations: 4 kB / 0.6632 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of Templates: time 0.001865/0.179, allocations: 189.3 kB / 0.6634 GB, free: 9.352 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)