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.00118/0.00118, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001064/0.001064, allocations: 183 kB / 17.34 MB, free: 5.734 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.808/0.808, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.44 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1521, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00176/0.1539, allocations: 0.5081 MB / 0.6608 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001942/0.1541, allocations: 51.8 kB / 0.6609 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.1542, allocations: 0 / 0.6609 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.1542, allocations: 0 / 0.6609 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.1544, allocations: 7.938 kB / 0.6609 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.013e-05/0.1545, allocations: 11.92 kB / 0.6609 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.1545, allocations: 8 kB / 0.6609 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.97e-05/0.1546, allocations: 3.938 kB / 0.6609 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.1547, allocations: 4 kB / 0.6609 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.1547, allocations: 11.97 kB / 0.6609 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1548, allocations: 0 / 0.6609 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.1548, allocations: 0 / 0.6609 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.1548, allocations: 7.938 kB / 0.6609 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.1549, allocations: 7.984 kB / 0.6609 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.381e-05/0.1549, allocations: 11.94 kB / 0.6609 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.155, allocations: 0 / 0.6609 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.155, allocations: 0 / 0.6609 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.155, allocations: 0 / 0.6609 GB, free: 9.645 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.0004876/0.1555, allocations: 331.5 kB / 0.6612 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1555, allocations: 8.031 kB / 0.6612 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.1556, allocations: 4.938 kB / 0.6613 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1558, allocations: 176.3 kB / 0.6614 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1558, allocations: 384 / 0.6614 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1558, allocations: 8.359 kB / 0.6614 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.1559, allocations: 33.64 kB / 0.6615 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1559, allocations: 0 / 0.6615 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1559, allocations: 0 / 0.6615 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1559, allocations: 4 kB / 0.6615 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.156, allocations: 7.984 kB / 0.6615 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.1561, allocations: 153.7 kB / 0.6616 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.488e-05/0.1562, allocations: 22.52 kB / 0.6616 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.1562, allocations: 11.75 kB / 0.6617 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1562, allocations: 7.922 kB / 0.6617 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1563, allocations: 38.62 kB / 0.6617 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1563, allocations: 0 / 0.6617 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.1564, allocations: 41.59 kB / 0.6617 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1565, allocations: 55.39 kB / 0.6618 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.1566, allocations: 109.8 kB / 0.6619 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1566, allocations: 33.77 kB / 0.6619 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.1566, allocations: 88.08 kB / 0.662 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.1567, allocations: 0 / 0.662 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.1567, allocations: 13.72 kB / 0.662 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1568, allocations: 310.8 kB / 0.6623 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.1568, allocations: 11.98 kB / 0.6623 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.1569, allocations: 17.72 kB / 0.6623 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.1569, allocations: 25.77 kB / 0.6624 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1569, allocations: 0 / 0.6624 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.329e-05/0.157, allocations: 57.55 kB / 0.6624 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.157, allocations: 5.719 kB / 0.6624 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.157, allocations: 7.938 kB / 0.6624 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1571, allocations: 0 / 0.6624 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.1571, allocations: 4 kB / 0.6624 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1572, allocations: 4.062 kB / 0.6624 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.1572, allocations: 0 / 0.6624 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1572, allocations: 0 / 0.6624 GB, free: 7.855 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 7.183e-05/0.1573, allocations: 113.8 kB / 0.6626 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1573, allocations: 7.844 kB / 0.6626 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1574, allocations: 52.75 kB / 0.6626 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1574, allocations: 0 / 0.6626 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1574, allocations: 0 / 0.6626 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1574, allocations: 0 / 0.6626 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1575, allocations: 157.7 kB / 0.6628 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1576, allocations: 7.938 kB / 0.6628 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.1576, allocations: 3.984 kB / 0.6628 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1576, allocations: 4 kB / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1576, allocations: 0 / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1576, allocations: 0 / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1576, allocations: 256 / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.1578, allocations: 81.06 kB / 0.6629 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1578, allocations: 89.06 kB / 0.6629 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1578, allocations: 4 kB / 0.6629 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.1579, allocations: 0 / 0.6629 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.1579, allocations: 0 / 0.6629 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1579, allocations: 0 / 0.6629 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.158, allocations: 95.2 kB / 0.663 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.158, allocations: 0 / 0.663 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001794/0.1581, allocations: 4 kB / 0.663 GB, free: 7.141 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.0001082/0.1583, allocations: 95.34 kB / 0.6631 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.1584, allocations: 19.92 kB / 0.6632 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1584, allocations: 0 / 0.6632 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.1584, allocations: 4 kB / 0.6632 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.1585, allocations: 7.938 kB / 0.6632 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.1588, allocations: 146.1 kB / 0.6633 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1591, allocations: 0.6768 MB / 0.664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.1591, allocations: 11.62 kB / 0.664 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1591, allocations: 4 kB / 0.664 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of Templates: time 0.001965/0.1611, allocations: 0.5036 MB / 0.6645 GB, free: 5.609 MB / 0.4981 GB 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)