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.005738/0.005738, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001198/0.001198, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.785/0.785, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.88 kB / 0.5856 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1552, allocations: 80.92 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00193/0.1572, allocations: 0.5119 MB / 0.6651 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002228/0.1574, allocations: 43.86 kB / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.222e-05/0.1575, allocations: 3.938 kB / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.1575, allocations: 4 kB / 0.6652 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1577, allocations: 0 / 0.6652 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.715e-05/0.1578, allocations: 7.938 kB / 0.6652 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.1579, allocations: 15.92 kB / 0.6652 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.1579, allocations: 0 / 0.6652 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.158, allocations: 4 kB / 0.6652 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.522e-05/0.1581, allocations: 11.92 kB / 0.6652 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1581, allocations: 0 / 0.6652 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.1581, allocations: 0 / 0.6652 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.1582, allocations: 15.92 kB / 0.6652 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.1582, allocations: 0 / 0.6652 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.33e-05/0.1583, allocations: 15.92 kB / 0.6652 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1583, allocations: 0 / 0.6652 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1583, allocations: 0 / 0.6652 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.1583, allocations: 0 / 0.6652 GB, free: 5.172 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.0004915/0.1588, allocations: 331.5 kB / 0.6656 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1589, allocations: 9.109 kB / 0.6656 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.1589, allocations: 4.938 kB / 0.6656 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1591, allocations: 168.4 kB / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1591, allocations: 384 / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1592, allocations: 12.27 kB / 0.6657 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.1593, allocations: 37.62 kB / 0.6658 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1593, allocations: 0 / 0.6658 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1593, allocations: 4 kB / 0.6658 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1593, allocations: 0 / 0.6658 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.1593, allocations: 4 kB / 0.6658 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.1595, allocations: 153.7 kB / 0.6659 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.166e-05/0.1596, allocations: 26.58 kB / 0.666 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.1596, allocations: 19.78 kB / 0.666 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1596, allocations: 3.938 kB / 0.666 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1597, allocations: 30.56 kB / 0.666 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1597, allocations: 0 / 0.666 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001633/0.1598, allocations: 37.69 kB / 0.666 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.1599, allocations: 55.41 kB / 0.6661 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.16, allocations: 106 kB / 0.6662 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.16, allocations: 29.7 kB / 0.6662 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.1601, allocations: 84.14 kB / 0.6663 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1601, allocations: 7.938 kB / 0.6663 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1602, allocations: 17.64 kB / 0.6663 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1603, allocations: 318.8 kB / 0.6666 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.1604, allocations: 3.938 kB / 0.6666 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.1604, allocations: 21.7 kB / 0.6667 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.1604, allocations: 25.78 kB / 0.6667 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1604, allocations: 0 / 0.6667 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.556e-05/0.1605, allocations: 53.52 kB / 0.6667 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1606, allocations: 8 kB / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1606, allocations: 0 / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1606, allocations: 0 / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.1607, allocations: 11.92 kB / 0.6668 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1607, allocations: 4.062 kB / 0.6668 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.1607, allocations: 0 / 0.6668 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1607, allocations: 7.984 kB / 0.6668 GB, free: 3.379 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 8.389e-05/0.1608, allocations: 109.8 kB / 0.6669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.1608, allocations: 7.922 kB / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.1609, allocations: 56.73 kB / 0.6669 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.161, allocations: 0 / 0.6669 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.161, allocations: 0 / 0.6669 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.161, allocations: 4.031 kB / 0.6669 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1611, allocations: 157.7 kB / 0.6671 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1611, allocations: 3.938 kB / 0.6671 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.1612, allocations: 4 kB / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1612, allocations: 0 / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1612, allocations: 0 / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1612, allocations: 256 / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1612, allocations: 0 / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.1614, allocations: 89 kB / 0.6672 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1614, allocations: 89.08 kB / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1614, allocations: 0 / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.1615, allocations: 0 / 0.6673 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.1615, allocations: 3.984 kB / 0.6673 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1615, allocations: 4 kB / 0.6673 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.22e-05/0.1616, allocations: 83.28 kB / 0.6673 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 0.6673 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001828/0.1618, allocations: 4 kB / 0.6674 GB, free: 2.668 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.0001335/0.1619, allocations: 104.6 kB / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.162, allocations: 15.98 kB / 0.6675 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.162, allocations: 0 / 0.6675 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.162, allocations: 11.92 kB / 0.6675 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.1622, allocations: 7.938 kB / 0.6675 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.1626, allocations: 113.3 kB / 0.6676 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1629, allocations: 0.6769 MB / 0.6683 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.163, allocations: 8 kB / 0.6683 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.163, allocations: 7.438 kB / 0.6683 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.163, allocations: 0 / 0.6683 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of Templates: time 0.002724/0.1657, allocations: 317.1 kB / 0.6686 GB, free: 1.355 MB / 0.4981 GB 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)