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-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_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.0008537/0.0008538, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0008789/0.000879, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8412/0.8412, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003053, allocations: 8 kB / 0.5068 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1591, allocations: 82.31 MB / 0.5872 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0005698/0.1597, allocations: 246.9 kB / 0.5874 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001508/0.1598, allocations: 39.89 kB / 0.5875 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.1599, allocations: 0 / 0.5875 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.1599, allocations: 3.938 kB / 0.5875 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.16, allocations: 4 kB / 0.5875 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.118e-05/0.1601, allocations: 7.938 kB / 0.5875 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.513e-05/0.1602, allocations: 11.97 kB / 0.5875 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.1602, allocations: 0 / 0.5875 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.1603, allocations: 0 / 0.5875 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/0.1603, allocations: 15.92 kB / 0.5875 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1604, allocations: 0 / 0.5875 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.1604, allocations: 4 kB / 0.5875 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.1604, allocations: 4 kB / 0.5875 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.1604, allocations: 29.7 kB / 0.5875 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.218e-05/0.1605, allocations: 7.969 kB / 0.5875 GB, free: 2.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.1605, allocations: 0 / 0.5875 GB, free: 2.691 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1605, allocations: 4 kB / 0.5875 GB, free: 2.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1605, allocations: 0 / 0.5875 GB, free: 2.688 MB / 494.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.0003647/0.1609, allocations: 323.3 kB / 0.5879 GB, free: 2.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1609, allocations: 8.031 kB / 0.5879 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.1609, allocations: 0 / 0.5879 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1611, allocations: 183.3 kB / 0.588 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.1611, allocations: 0 / 0.588 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1612, allocations: 0 / 0.588 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.1612, allocations: 33.64 kB / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1612, allocations: 0 / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1613, allocations: 0 / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1613, allocations: 3.984 kB / 0.5881 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.1613, allocations: 7.984 kB / 0.5881 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1614, allocations: 157.7 kB / 0.5882 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.1615, allocations: 18.58 kB / 0.5883 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1615, allocations: 4.062 kB / 0.5883 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.1615, allocations: 34.5 kB / 0.5883 GB, free: 1.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.054e-06/0.1615, allocations: 0 / 0.5883 GB, free: 1.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.1617, allocations: 49.53 kB / 0.5883 GB, free: 1.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.1617, allocations: 51.41 kB / 0.5884 GB, free: 1.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.1618, allocations: 117.9 kB / 0.5885 GB, free: 1.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1618, allocations: 25.7 kB / 0.5885 GB, free: 1.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.1619, allocations: 84.12 kB / 0.5886 GB, free: 1.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.1619, allocations: 7.938 kB / 0.5886 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.1619, allocations: 0 / 0.5886 GB, free: 1.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.162, allocations: 314.8 kB / 0.5889 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.162, allocations: 0 / 0.5889 GB, free: 1.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.1621, allocations: 17.7 kB / 0.5889 GB, free: 1.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.971e-05/0.1621, allocations: 16 kB / 0.5889 GB, free: 1.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1621, allocations: 4 kB / 0.5889 GB, free: 1.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.666e-05/0.1622, allocations: 45.64 kB / 0.589 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1622, allocations: 4 kB / 0.589 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1622, allocations: 0 / 0.589 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1622, allocations: 0 / 0.589 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.1623, allocations: 4 kB / 0.589 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1623, allocations: 7.922 kB / 0.589 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.1623, allocations: 8.062 kB / 0.589 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1623, allocations: 256 / 0.589 GB, free: 0.9688 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.1624, allocations: 109.8 kB / 0.5891 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.1624, allocations: 11.86 kB / 0.5891 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.62e-05/0.1625, allocations: 40.81 kB / 0.5892 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1625, allocations: 4 kB / 0.5892 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1625, allocations: 7.984 kB / 0.5892 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1625, allocations: 0 / 0.5892 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1627, allocations: 157.7 kB / 0.5893 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1627, allocations: 0 / 0.5893 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.1627, allocations: 4 kB / 0.5893 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1627, allocations: 3.953 kB / 0.5893 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1627, allocations: 0 / 0.5893 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1627, allocations: 0 / 0.5893 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1627, allocations: 3.938 kB / 0.5893 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.1629, allocations: 81.11 kB / 0.5894 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.1629, allocations: 85.11 kB / 0.5895 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1629, allocations: 3.953 kB / 0.5895 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.163, allocations: 0 / 0.5895 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.163, allocations: 4.031 kB / 0.5895 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.163, allocations: 3.938 kB / 0.5895 GB, free: 368 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.163, allocations: 91.27 kB / 0.5896 GB, free: 276 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.163, allocations: 3.938 kB / 0.5896 GB, free: 272 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001711/0.1632, allocations: 0 / 0.5896 GB, free: 272 kB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.447e-05/0.1633, allocations: 99.25 kB / 0.5897 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.409e-05/0.1634, allocations: 15.92 kB / 0.5897 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1634, allocations: 0 / 0.5897 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.1634, allocations: 8 kB / 0.5897 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.162e-05/0.1635, allocations: 4 kB / 0.5897 GB, free: 132 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.1637, allocations: 116.7 kB / 0.5898 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.164, allocations: 0.6811 MB / 0.5905 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.367e-05/0.164, allocations: 4 kB / 0.5905 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/0.164, allocations: 7.438 kB / 0.5905 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.164, allocations: 0 / 0.5905 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.001752/0.1658, allocations: 300 kB / 0.5908 GB, free: 14.98 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: