Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001643/0.001643, 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8197/0.8197, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.23 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1552, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002581/0.1578, allocations: 1.524 MB / 0.6668 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.1582, allocations: 112.5 kB / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.1582, allocations: 0 / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.1583, allocations: 11.88 kB / 0.6669 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.463e-05/0.1584, allocations: 11.92 kB / 0.6669 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1586, allocations: 31.91 kB / 0.667 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.842e-05/0.1587, allocations: 51.84 kB / 0.667 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1588, allocations: 35.81 kB / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.1589, allocations: 23.92 kB / 0.6671 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.159, allocations: 27.91 kB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.159, allocations: 4 kB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.377e-05/0.1591, allocations: 15.94 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.1591, allocations: 15.92 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.1592, allocations: 27.86 kB / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1593, allocations: 59.8 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1593, allocations: 0 / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1593, allocations: 0 / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1593, allocations: 0 / 0.6672 GB, free: 3.828 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005261/0.1598, allocations: 383.2 kB / 0.6676 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1599, allocations: 13.11 kB / 0.6676 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.1599, allocations: 0.9375 kB / 0.6676 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1601, allocations: 184.2 kB / 0.6678 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1601, allocations: 4.375 kB / 0.6678 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1601, allocations: 384 / 0.6678 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.1604, allocations: 98.12 kB / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1604, allocations: 192 / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1604, allocations: 3.938 kB / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1604, allocations: 4 kB / 0.6679 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.1608, allocations: 75.92 kB / 0.6679 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.1613, allocations: 336.6 kB / 0.6683 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.1615, allocations: 50.55 kB / 0.6683 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1617, allocations: 44.91 kB / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1618, allocations: 4 kB / 0.6684 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1618, allocations: 34.59 kB / 0.6684 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1618, allocations: 0 / 0.6684 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005615/0.1624, allocations: 137.7 kB / 0.6685 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1624, allocations: 59.39 kB / 0.6686 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.1625, allocations: 113.8 kB / 0.6687 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1625, allocations: 25.7 kB / 0.6687 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.1626, allocations: 92.08 kB / 0.6688 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1626, allocations: 19.78 kB / 0.6688 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1626, allocations: 13.72 kB / 0.6688 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1628, allocations: 318.8 kB / 0.6691 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1629, allocations: 47.83 kB / 0.6692 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.1631, allocations: 35.95 kB / 0.6692 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.1634, allocations: 76.7 kB / 0.6693 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1634, allocations: 0 / 0.6693 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003275/0.1637, allocations: 105.6 kB / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1637, allocations: 4 kB / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1637, allocations: 0 / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1638, allocations: 0 / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1639, allocations: 19.97 kB / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1639, allocations: 0 / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.164, allocations: 15.98 kB / 0.6694 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.164, allocations: 0 / 0.6694 GB, free: 1.328 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 0.0001014/0.1641, allocations: 117.8 kB / 0.6695 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1642, allocations: 7.906 kB / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.1645, allocations: 117.4 kB / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1646, allocations: 4 kB / 0.6697 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.1646, allocations: 4 kB / 0.6697 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1646, allocations: 0 / 0.6697 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1648, allocations: 177.6 kB / 0.6698 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1648, allocations: 0 / 0.6698 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1649, allocations: 23.97 kB / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1649, allocations: 0 / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1649, allocations: 0 / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1649, allocations: 0 / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.165, allocations: 0 / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.1654, allocations: 211.2 kB / 0.6701 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.1654, allocations: 85.05 kB / 0.6701 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1655, allocations: 0 / 0.6701 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1656, allocations: 11.98 kB / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.1656, allocations: 7.984 kB / 0.6702 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1656, allocations: 0 / 0.6702 GB, free: 484 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.899e-05/0.1657, allocations: 91.28 kB / 0.6702 GB, free: 392 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.315e-06/0.1657, allocations: 0 / 0.6702 GB, free: 392 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000237/0.166, allocations: 19.84 kB / 0.6703 GB, free: 372 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001627/0.1661, allocations: 104.5 kB / 0.6704 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003715/0.1665, allocations: 79.86 kB / 0.6704 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1665, allocations: 0 / 0.6704 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1667, allocations: 39.95 kB / 0.6705 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.167, allocations: 8.422 kB / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.1674, allocations: 189.7 kB / 0.6707 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1677, allocations: 0.7002 MB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.1678, allocations: 7.438 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.1678, allocations: 0 / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.002564/0.1703, allocations: 0.9322 MB / 0.6723 GB, free: 14.25 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)