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.006032/0.006032, allocations: 100.3 kB / 15.87 MB, free: 5.871 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.001155/0.001156, allocations: 192 kB / 16.79 MB, free: 5.816 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.984/0.984, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 68.22 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1722, allocations: 80.93 MB / 0.5843 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.002039/0.1743, allocations: 0.5722 MB / 0.5849 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002099/0.1745, allocations: 39.89 kB / 0.5849 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.1746, allocations: 0 / 0.5849 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.1746, allocations: 3.938 kB / 0.5849 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1748, allocations: 7.969 kB / 0.585 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.624e-05/0.1749, allocations: 11.94 kB / 0.585 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.1749, allocations: 4 kB / 0.585 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.961e-05/0.175, allocations: 0 / 0.585 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.081e-05/0.175, allocations: 4 kB / 0.585 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.486e-05/0.1751, allocations: 11.98 kB / 0.585 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1751, allocations: 0 / 0.585 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-06/0.1752, allocations: 0 / 0.585 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.1752, allocations: 11.94 kB / 0.585 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.1752, allocations: 7.969 kB / 0.585 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.525e-05/0.1753, allocations: 4 kB / 0.585 GB, free: 4.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1753, allocations: 0 / 0.585 GB, free: 4.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1753, allocations: 0 / 0.585 GB, free: 4.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1753, allocations: 0 / 0.585 GB, free: 4.285 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.000473/0.1758, allocations: 331.5 kB / 0.5853 GB, free: 3.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1758, allocations: 12.03 kB / 0.5853 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.1759, allocations: 8.812 kB / 0.5853 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1761, allocations: 176.5 kB / 0.5855 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1761, allocations: 384 / 0.5855 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.1761, allocations: 4.375 kB / 0.5855 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.893e-05/0.1762, allocations: 41.81 kB / 0.5856 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1762, allocations: 0 / 0.5856 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1762, allocations: 0 / 0.5856 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1763, allocations: 0 / 0.5856 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.1763, allocations: 0 / 0.5856 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.1764, allocations: 153.7 kB / 0.5857 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.447e-05/0.1765, allocations: 30.53 kB / 0.5857 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.1765, allocations: 8.922 kB / 0.5857 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.1765, allocations: 0 / 0.5857 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1766, allocations: 34.5 kB / 0.5858 GB, free: 3.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.1766, allocations: 0 / 0.5858 GB, free: 3.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.1767, allocations: 41.69 kB / 0.5858 GB, free: 3.293 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1768, allocations: 55.39 kB / 0.5859 GB, free: 3.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.1769, allocations: 110 kB / 0.586 GB, free: 3.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1769, allocations: 33.64 kB / 0.586 GB, free: 3.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.1769, allocations: 88.12 kB / 0.5861 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.177, allocations: 3.938 kB / 0.5861 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.177, allocations: 17.72 kB / 0.5861 GB, free: 2.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1771, allocations: 310.8 kB / 0.5864 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.1771, allocations: 7.984 kB / 0.5864 GB, free: 2.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.1772, allocations: 17.72 kB / 0.5864 GB, free: 2.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.1772, allocations: 21.7 kB / 0.5865 GB, free: 2.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1772, allocations: 0 / 0.5865 GB, free: 2.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.352e-05/0.1773, allocations: 57.47 kB / 0.5865 GB, free: 2.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1773, allocations: 4 kB / 0.5865 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1774, allocations: 0 / 0.5865 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1774, allocations: 128 / 0.5865 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.1774, allocations: 8 kB / 0.5865 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1775, allocations: 0 / 0.5865 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.1775, allocations: 4 kB / 0.5865 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1775, allocations: 0 / 0.5865 GB, free: 2.504 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 7.651e-05/0.1776, allocations: 117.8 kB / 0.5866 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.1776, allocations: 7.938 kB / 0.5866 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1777, allocations: 48.75 kB / 0.5867 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1777, allocations: 256 / 0.5867 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1777, allocations: 8.031 kB / 0.5867 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1778, allocations: 7.984 kB / 0.5867 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.1779, allocations: 149.7 kB / 0.5868 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1779, allocations: 3.938 kB / 0.5868 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.1779, allocations: 11.94 kB / 0.5869 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.178, allocations: 0 / 0.5869 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.178, allocations: 3.984 kB / 0.5869 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.178, allocations: 0 / 0.5869 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.178, allocations: 0 / 0.5869 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.1781, allocations: 84.97 kB / 0.5869 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.1782, allocations: 85.03 kB / 0.587 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1782, allocations: 0 / 0.587 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.1782, allocations: 0 / 0.587 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.1782, allocations: 4.031 kB / 0.587 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1782, allocations: 0 / 0.587 GB, free: 1.879 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.1783, allocations: 91.27 kB / 0.5871 GB, free: 1.789 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1783, allocations: 0 / 0.5871 GB, free: 1.789 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001745/0.1785, allocations: 96 / 0.5871 GB, free: 1.789 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.0001077/0.1786, allocations: 99.25 kB / 0.5872 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.891e-05/0.1787, allocations: 19.92 kB / 0.5872 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1787, allocations: 0 / 0.5872 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.1787, allocations: 8 kB / 0.5872 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.1789, allocations: 3.938 kB / 0.5872 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.1791, allocations: 148.5 kB / 0.5874 GB, free: 1.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.1794, allocations: 0.6809 MB / 0.588 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.1794, allocations: 7.438 kB / 0.5881 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1794, allocations: 0 / 0.5881 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of Templates: time 0.001946/0.1814, allocations: 0.5014 MB / 0.5885 GB, free: 264 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)