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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7776/0.7776, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 403.4 MB, free: 7.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 117.1 kB / 484.4 MB, free: 8.645 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 47.92 kB / 0.5618 GB, free: 71.01 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1574, allocations: 80.21 MB / 0.6402 GB, free: 6.73 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001719/0.1592, allocations: 0.5683 MB / 0.6407 GB, free: 6.156 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.1593, allocations: 15.92 kB / 0.6407 GB, free: 6.141 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.1594, allocations: 0 / 0.6407 GB, free: 6.141 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.1594, allocations: 3.938 kB / 0.6407 GB, free: 6.137 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.1595, allocations: 4 kB / 0.6407 GB, free: 6.133 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.785e-06/0.1595, allocations: 0 / 0.6407 GB, free: 6.133 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.864e-05/0.1596, allocations: 8 kB / 0.6407 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.1596, allocations: 0 / 0.6407 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.96e-05/0.1597, allocations: 11.86 kB / 0.6408 GB, free: 6.113 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.681e-05/0.1597, allocations: 7.984 kB / 0.6408 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.1597, allocations: 0 / 0.6408 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-06/0.1597, allocations: 0 / 0.6408 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.1597, allocations: 0 / 0.6408 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.393e-05/0.1598, allocations: 0 / 0.6408 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 3.486e-05/0.1598, allocations: 0 / 0.6408 GB, free: 6.105 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1598, allocations: 0 / 0.6408 GB, free: 6.105 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.14e-06/0.1598, allocations: 4 kB / 0.6408 GB, free: 6.102 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1598, allocations: 4 kB / 0.6408 GB, free: 6.098 MB / 442.7 MB 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.0002567/0.1601, allocations: 311.5 kB / 0.6411 GB, free: 5.746 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1601, allocations: 12.09 kB / 0.6411 GB, free: 5.734 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.1602, allocations: 0.9375 kB / 0.6411 GB, free: 5.734 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.1603, allocations: 160.4 kB / 0.6412 GB, free: 5.539 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1603, allocations: 4.312 kB / 0.6412 GB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.1603, allocations: 384 / 0.6412 GB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1604, allocations: 59.48 kB / 0.6413 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1604, allocations: 0 / 0.6413 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1605, allocations: 7.984 kB / 0.6413 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1605, allocations: 0 / 0.6413 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.1605, allocations: 0 / 0.6413 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.1607, allocations: 158.5 kB / 0.6415 GB, free: 5.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.76e-05/0.1607, allocations: 37.22 kB / 0.6415 GB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.1607, allocations: 21.7 kB / 0.6415 GB, free: 5.168 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1608, allocations: 4.062 kB / 0.6415 GB, free: 5.164 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1608, allocations: 38.5 kB / 0.6416 GB, free: 5.117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1608, allocations: 0 / 0.6416 GB, free: 5.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001301/0.1609, allocations: 37.64 kB / 0.6416 GB, free: 5.074 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.161, allocations: 81.36 kB / 0.6417 GB, free: 4.977 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.161, allocations: 101.8 kB / 0.6418 GB, free: 4.867 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1611, allocations: 25.7 kB / 0.6418 GB, free: 4.836 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/0.1611, allocations: 80.14 kB / 0.6419 GB, free: 4.754 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.1611, allocations: 3.906 kB / 0.6419 GB, free: 4.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.1612, allocations: 13.72 kB / 0.6419 GB, free: 4.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.1613, allocations: 314.8 kB / 0.6422 GB, free: 4.414 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.1613, allocations: 4 kB / 0.6422 GB, free: 4.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.1613, allocations: 17.72 kB / 0.6422 GB, free: 4.387 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.1613, allocations: 21.64 kB / 0.6422 GB, free: 4.359 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1614, allocations: 0 / 0.6422 GB, free: 4.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.917e-05/0.1614, allocations: 41.64 kB / 0.6423 GB, free: 4.312 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1614, allocations: 11.94 kB / 0.6423 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1614, allocations: 0 / 0.6423 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1615, allocations: 0 / 0.6423 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.1615, allocations: 12.11 kB / 0.6423 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1615, allocations: 0 / 0.6423 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.1616, allocations: 288 / 0.6423 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1616, allocations: 4 kB / 0.6423 GB, free: 4.285 MB / 442.7 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 6.466e-05/0.1616, allocations: 111.1 kB / 0.6424 GB, free: 4.168 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.1617, allocations: 7.922 kB / 0.6424 GB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.258e-05/0.1618, allocations: 48.75 kB / 0.6425 GB, free: 4.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1618, allocations: 12 kB / 0.6425 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1618, allocations: 0 / 0.6425 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1618, allocations: 0 / 0.6425 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.907e-05/0.1619, allocations: 157.7 kB / 0.6426 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1619, allocations: 0 / 0.6426 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.1619, allocations: 7.938 kB / 0.6426 GB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1619, allocations: 3.938 kB / 0.6426 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1619, allocations: 0 / 0.6426 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1619, allocations: 0 / 0.6426 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1619, allocations: 0 / 0.6426 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.1622, allocations: 0.617 MB / 0.6432 GB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.1623, allocations: 81.09 kB / 0.6433 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.1623, allocations: 0 / 0.6433 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.1623, allocations: 4 kB / 0.6433 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.1623, allocations: 4.031 kB / 0.6433 GB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1623, allocations: 4 kB / 0.6433 GB, free: 3.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.172e-05/0.1624, allocations: 75.28 kB / 0.6434 GB, free: 3.016 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1624, allocations: 0 / 0.6434 GB, free: 3.016 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.1627, allocations: 7.938 kB / 0.6434 GB, free: 3.008 MB / 442.7 MB 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 9.691e-05/0.1628, allocations: 91.25 kB / 0.6435 GB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.267e-05/0.1628, allocations: 19.92 kB / 0.6435 GB, free: 2.891 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1628, allocations: 128 / 0.6435 GB, free: 2.891 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-06/0.1629, allocations: 8 kB / 0.6435 GB, free: 2.883 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.163, allocations: 1.547 kB / 0.6435 GB, free: 2.883 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.1632, allocations: 194.2 kB / 0.6437 GB, free: 2.648 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.1635, allocations: 0.6731 MB / 0.6444 GB, free: 1.949 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.361e-05/0.1635, allocations: 0 / 0.6444 GB, free: 1.949 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.1635, allocations: 15.38 kB / 0.6444 GB, free: 1.934 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1635, allocations: 8.062 kB / 0.6444 GB, free: 1.926 MB / 442.7 MB Notification: Performance of Templates: time 0.001557/0.1651, allocations: 185 kB / 0.6446 GB, free: 1.746 MB / 442.7 MB 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)