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.001658/0.001658, allocations: 105.5 kB / 16.41 MB, free: 6.496 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.001968/0.001968, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7916/0.7916, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.28 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003028/0.1528, allocations: 1.531 MB / 0.6668 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003645/0.1532, allocations: 116.4 kB / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.1533, allocations: 0 / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1534, allocations: 7.875 kB / 0.6669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.074e-05/0.1535, allocations: 7.938 kB / 0.6669 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.1538, allocations: 39.89 kB / 0.667 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.1539, allocations: 55.83 kB / 0.667 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.154, allocations: 23.89 kB / 0.667 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.1541, allocations: 27.92 kB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.1542, allocations: 23.91 kB / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1542, allocations: 8 kB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.1543, allocations: 12 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.1543, allocations: 23.84 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.1544, allocations: 23.88 kB / 0.6671 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1545, allocations: 59.8 kB / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1545, allocations: 0 / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1545, allocations: 0 / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1545, allocations: 0 / 0.6672 GB, free: 3.832 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.0006158/0.1552, allocations: 383.2 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1552, allocations: 13.11 kB / 0.6676 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.1552, allocations: 0.9375 kB / 0.6676 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.1554, allocations: 188.2 kB / 0.6678 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1554, allocations: 4.375 kB / 0.6678 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1555, allocations: 4.375 kB / 0.6678 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.1557, allocations: 86.14 kB / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1558, allocations: 192 / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1558, allocations: 7.938 kB / 0.6679 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1558, allocations: 4 kB / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.1561, allocations: 79.91 kB / 0.6679 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.1567, allocations: 324.6 kB / 0.6682 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1569, allocations: 66.53 kB / 0.6683 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.157, allocations: 36.91 kB / 0.6683 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1571, allocations: 4 kB / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1571, allocations: 34.59 kB / 0.6684 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1571, allocations: 4 kB / 0.6684 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005537/0.1577, allocations: 137.5 kB / 0.6685 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1577, allocations: 55.41 kB / 0.6686 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.1578, allocations: 121.7 kB / 0.6687 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1578, allocations: 25.7 kB / 0.6687 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.1579, allocations: 100.1 kB / 0.6688 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.1579, allocations: 7.812 kB / 0.6688 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.158, allocations: 17.7 kB / 0.6688 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1581, allocations: 318.8 kB / 0.6691 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1583, allocations: 35.95 kB / 0.6692 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1584, allocations: 39.91 kB / 0.6692 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.1587, allocations: 77 kB / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1587, allocations: 0 / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003304/0.159, allocations: 109.6 kB / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1591, allocations: 5.875 kB / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1591, allocations: 0 / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1591, allocations: 0 / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1592, allocations: 15.98 kB / 0.6694 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1592, allocations: 3.984 kB / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.1593, allocations: 11.98 kB / 0.6694 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1593, allocations: 0 / 0.6694 GB, free: 1.332 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 8.158e-05/0.1594, allocations: 121.8 kB / 0.6695 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1594, allocations: 7.906 kB / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.1598, allocations: 113.4 kB / 0.6697 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1598, allocations: 4 kB / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1598, allocations: 0 / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1599, allocations: 0 / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.16, allocations: 185.6 kB / 0.6698 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.16, allocations: 4 kB / 0.6698 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.265e-05/0.1601, allocations: 15.98 kB / 0.6699 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1601, allocations: 0 / 0.6699 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1602, allocations: 0 / 0.6699 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1602, allocations: 0 / 0.6699 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1602, allocations: 3.984 kB / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.1605, allocations: 207.3 kB / 0.6701 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.1606, allocations: 89.03 kB / 0.6701 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1606, allocations: 0 / 0.6701 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1607, allocations: 7.984 kB / 0.6701 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.1607, allocations: 4 kB / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-06/0.1607, allocations: 4 kB / 0.6702 GB, free: 488 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.1608, allocations: 91.27 kB / 0.6702 GB, free: 396 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1608, allocations: 8 kB / 0.6703 GB, free: 388 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002223/0.161, allocations: 11.91 kB / 0.6703 GB, free: 376 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.0001262/0.1612, allocations: 108.4 kB / 0.6704 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.1615, allocations: 71.92 kB / 0.6704 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1615, allocations: 7.875 kB / 0.6704 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1617, allocations: 47.95 kB / 0.6705 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.162, allocations: 6.875 kB / 0.6705 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.1623, allocations: 186.9 kB / 0.6707 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1626, allocations: 0.6885 MB / 0.6713 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.1627, allocations: 11.44 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1627, allocations: 4 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.002334/0.165, allocations: 0.9321 MB / 0.6723 GB, free: 14.24 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)