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.001124/0.001124, allocations: 104 kB / 15.6 MB, free: 148 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.001238/0.001238, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9091/0.9091, allocations: 135.1 MB / 425.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 60.28 kB / 0.5053 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 80.94 MB / 0.5844 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.002197/0.1704, allocations: 0.5113 MB / 0.5849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002192/0.1706, allocations: 43.88 kB / 0.5849 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.1707, allocations: 3.938 kB / 0.5849 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.1707, allocations: 0 / 0.5849 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1709, allocations: 0 / 0.5849 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.603e-05/0.171, allocations: 11.92 kB / 0.5849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.1711, allocations: 15.98 kB / 0.5849 GB, free: 4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.1711, allocations: 0 / 0.5849 GB, free: 4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.1712, allocations: 7.938 kB / 0.5849 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.1713, allocations: 7.984 kB / 0.585 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1713, allocations: 3.938 kB / 0.585 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.1713, allocations: 0 / 0.585 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.1714, allocations: 4 kB / 0.585 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.1714, allocations: 11.92 kB / 0.585 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.282e-05/0.1715, allocations: 7.984 kB / 0.585 GB, free: 3.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1715, allocations: 3.938 kB / 0.585 GB, free: 3.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1715, allocations: 4 kB / 0.585 GB, free: 3.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1715, allocations: 0 / 0.585 GB, free: 3.949 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.0004408/0.1719, allocations: 331.5 kB / 0.5853 GB, free: 3.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.172, allocations: 8.031 kB / 0.5853 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.172, allocations: 4.938 kB / 0.5853 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1722, allocations: 176.6 kB / 0.5855 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1723, allocations: 384 / 0.5855 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1723, allocations: 4.312 kB / 0.5855 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.216e-05/0.1724, allocations: 37.81 kB / 0.5855 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1724, allocations: 4 kB / 0.5855 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1724, allocations: 0 / 0.5855 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1724, allocations: 0 / 0.5855 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.1724, allocations: 4 kB / 0.5855 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.1726, allocations: 153.7 kB / 0.5857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.923e-05/0.1726, allocations: 18.58 kB / 0.5857 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.1727, allocations: 12.78 kB / 0.5857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.1727, allocations: 4 kB / 0.5857 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1727, allocations: 42.56 kB / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1727, allocations: 0 / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.1729, allocations: 37.69 kB / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1729, allocations: 51.41 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.173, allocations: 113.8 kB / 0.5859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.173, allocations: 25.7 kB / 0.586 GB, free: 2.746 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.1731, allocations: 84.27 kB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.1731, allocations: 7.938 kB / 0.5861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1732, allocations: 17.7 kB / 0.5861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1733, allocations: 314.8 kB / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.1733, allocations: 7.938 kB / 0.5864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.1734, allocations: 17.7 kB / 0.5864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.088e-05/0.1734, allocations: 21.78 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1734, allocations: 0 / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.67e-05/0.1735, allocations: 57.47 kB / 0.5865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1735, allocations: 6.5 kB / 0.5865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1736, allocations: 0 / 0.5865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1736, allocations: 7.938 kB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.1737, allocations: 7.984 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1737, allocations: 3.938 kB / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.1737, allocations: 0 / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1737, allocations: 64 / 0.5865 GB, free: 2.168 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.73e-05/0.1738, allocations: 113.8 kB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.1738, allocations: 3.938 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.174, allocations: 56.73 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.174, allocations: 0 / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.174, allocations: 0 / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.174, allocations: 0 / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.1741, allocations: 153.7 kB / 0.5868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1741, allocations: 0 / 0.5868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.1742, allocations: 11.97 kB / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1742, allocations: 0 / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1742, allocations: 4 kB / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1742, allocations: 0 / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1742, allocations: 0 / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1744, allocations: 84.95 kB / 0.5869 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1744, allocations: 85.06 kB / 0.587 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1745, allocations: 4 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.1745, allocations: 4.344 kB / 0.587 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.1745, allocations: 3.984 kB / 0.587 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1745, allocations: 4 kB / 0.587 GB, free: 1.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.031e-05/0.1746, allocations: 87.28 kB / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1746, allocations: 0 / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001859/0.1748, allocations: 4 kB / 0.5871 GB, free: 1.457 MB / 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 (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.0001301/0.1749, allocations: 95.23 kB / 0.5872 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.051e-05/0.175, allocations: 16 kB / 0.5872 GB, free: 1.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.175, allocations: 0 / 0.5872 GB, free: 1.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.175, allocations: 15.92 kB / 0.5872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.1752, allocations: 0 / 0.5872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.1755, allocations: 117.4 kB / 0.5873 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1758, allocations: 0.6807 MB / 0.588 GB, free: 484 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.824e-05/0.1758, allocations: 192 / 0.588 GB, free: 484 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.1759, allocations: 15.38 kB / 0.588 GB, free: 468 kB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1759, allocations: 0 / 0.588 GB, free: 468 kB / 494.1 MB Notification: Performance of Templates: time 0.002181/0.178, allocations: 311.6 kB / 0.5883 GB, free: 160 kB / 494.1 MB 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)