Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 105 kB / 16.41 MB, free: 6.465 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.001062/0.001063, allocations: 187 kB / 17.34 MB, free: 5.719 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7923/0.7923, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 68.28 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1575, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001541/0.1591, allocations: 0.5093 MB / 0.6658 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001485/0.1592, allocations: 7.984 kB / 0.6658 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.1593, allocations: 0 / 0.6658 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.1593, allocations: 0 / 0.6658 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1594, allocations: 7.938 kB / 0.6658 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.466e-06/0.1595, allocations: 0 / 0.6658 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.1595, allocations: 11.92 kB / 0.6658 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.904e-05/0.1596, allocations: 8 kB / 0.6658 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.707e-05/0.1596, allocations: 3.984 kB / 0.6658 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.1596, allocations: 4 kB / 0.6658 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1597, allocations: 0 / 0.6658 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.002e-06/0.1597, allocations: 0 / 0.6658 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.1597, allocations: 0 / 0.6658 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.1597, allocations: 0 / 0.6658 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.333e-05/0.1598, allocations: 3.938 kB / 0.6658 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1598, allocations: 4 kB / 0.6658 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1598, allocations: 0 / 0.6658 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1598, allocations: 0 / 0.6658 GB, free: 5.227 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002789/0.1601, allocations: 315.5 kB / 0.6661 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1601, allocations: 13.14 kB / 0.6661 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.1602, allocations: 0.9375 kB / 0.6661 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.323e-05/0.1603, allocations: 164.3 kB / 0.6663 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1603, allocations: 4.312 kB / 0.6663 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.1603, allocations: 4.375 kB / 0.6663 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1604, allocations: 51.34 kB / 0.6664 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1604, allocations: 0 / 0.6664 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1604, allocations: 7.984 kB / 0.6664 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1604, allocations: 0 / 0.6664 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.1605, allocations: 3.938 kB / 0.6664 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.1606, allocations: 158.5 kB / 0.6665 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.717e-05/0.1607, allocations: 39.88 kB / 0.6666 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.1607, allocations: 17.7 kB / 0.6666 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1608, allocations: 7.875 kB / 0.6666 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1608, allocations: 34.62 kB / 0.6666 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1608, allocations: 0 / 0.6666 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001399/0.1609, allocations: 45.86 kB / 0.6667 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.161, allocations: 77.11 kB / 0.6667 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.383e-05/0.161, allocations: 97.84 kB / 0.6668 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1611, allocations: 25.7 kB / 0.6669 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.1611, allocations: 80.14 kB / 0.6669 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1611, allocations: 7.844 kB / 0.6669 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.1612, allocations: 18.06 kB / 0.667 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1613, allocations: 310.8 kB / 0.6672 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.1613, allocations: 4.031 kB / 0.6673 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.1613, allocations: 13.72 kB / 0.6673 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.1614, allocations: 25.64 kB / 0.6673 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1614, allocations: 0 / 0.6673 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.769e-05/0.1614, allocations: 37.64 kB / 0.6673 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1614, allocations: 8.125 kB / 0.6673 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1615, allocations: 7.938 kB / 0.6673 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1615, allocations: 0 / 0.6673 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.1615, allocations: 11.92 kB / 0.6674 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1616, allocations: 0 / 0.6674 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.1616, allocations: 0 / 0.6674 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1616, allocations: 4 kB / 0.6674 GB, free: 3.406 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 7.103e-05/0.1617, allocations: 109.8 kB / 0.6675 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.1617, allocations: 3.938 kB / 0.6675 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1618, allocations: 52.75 kB / 0.6675 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1618, allocations: 4 kB / 0.6675 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1618, allocations: 0 / 0.6675 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1618, allocations: 0 / 0.6675 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1619, allocations: 149.7 kB / 0.6677 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1619, allocations: 0 / 0.6677 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.1619, allocations: 7.938 kB / 0.6677 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.162, allocations: 7.938 kB / 0.6677 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.162, allocations: 0 / 0.6677 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.162, allocations: 4.062 kB / 0.6677 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.162, allocations: 0 / 0.6677 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.056e-05/0.1621, allocations: 77.92 kB / 0.6678 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.1621, allocations: 81.05 kB / 0.6678 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1621, allocations: 0 / 0.6678 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.1622, allocations: 4 kB / 0.6678 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1622, allocations: 8.031 kB / 0.6678 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1622, allocations: 0 / 0.6678 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.1622, allocations: 75.28 kB / 0.6679 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1622, allocations: 0 / 0.6679 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001752/0.1624, allocations: 0 / 0.6679 GB, free: 2.723 MB / 0.4981 GB 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 0.0001104/0.1625, allocations: 100.6 kB / 0.668 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.1626, allocations: 11.94 kB / 0.668 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1626, allocations: 128 / 0.668 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.13e-05/0.1626, allocations: 12 kB / 0.668 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.1628, allocations: 6.328 kB / 0.668 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.163, allocations: 119.4 kB / 0.6682 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1633, allocations: 0.6729 MB / 0.6688 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.1633, allocations: 7.438 kB / 0.6688 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1633, allocations: 3.938 kB / 0.6688 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.00152/0.1648, allocations: 371.8 kB / 0.6692 GB, free: 1.359 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)