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.007684/0.007684, allocations: 100.7 kB / 15.73 MB, free: 5.961 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.001635/0.001636, allocations: 195 kB / 16.67 MB, free: 5.883 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8389/0.8389, allocations: 135.2 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.00118, allocations: 65.88 kB / 0.5856 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1572, allocations: 80.93 MB / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003124/0.1604, allocations: 1.524 MB / 0.6661 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.1608, allocations: 116.5 kB / 0.6662 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.1608, allocations: 0 / 0.6662 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.1609, allocations: 3.938 kB / 0.6663 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.161, allocations: 15.86 kB / 0.6663 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1612, allocations: 23.97 kB / 0.6663 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.1614, allocations: 59.77 kB / 0.6663 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1615, allocations: 27.89 kB / 0.6664 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.1616, allocations: 27.86 kB / 0.6664 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.1617, allocations: 31.89 kB / 0.6664 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1617, allocations: 4 kB / 0.6664 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.1618, allocations: 12 kB / 0.6664 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.1618, allocations: 15.92 kB / 0.6665 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.1618, allocations: 23.88 kB / 0.6665 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.162, allocations: 63.72 kB / 0.6665 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.162, allocations: 0 / 0.6665 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.162, allocations: 4 kB / 0.6666 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.162, allocations: 0 / 0.6666 GB, free: 3.809 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.0005386/0.1626, allocations: 383.1 kB / 0.6669 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1626, allocations: 13.11 kB / 0.6669 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.1627, allocations: 4.891 kB / 0.6669 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.1629, allocations: 184.3 kB / 0.6671 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1629, allocations: 8.359 kB / 0.6671 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1629, allocations: 4.375 kB / 0.6671 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.1632, allocations: 86.2 kB / 0.6672 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1632, allocations: 192 / 0.6672 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1632, allocations: 7.938 kB / 0.6672 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1632, allocations: 0 / 0.6672 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.1635, allocations: 83.84 kB / 0.6673 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.1642, allocations: 328.7 kB / 0.6676 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1644, allocations: 62.56 kB / 0.6677 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1645, allocations: 44.91 kB / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1646, allocations: 4 kB / 0.6677 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1646, allocations: 30.56 kB / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1646, allocations: 0 / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006245/0.1652, allocations: 137.5 kB / 0.6679 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1653, allocations: 59.41 kB / 0.6679 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.1654, allocations: 118.1 kB / 0.668 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1654, allocations: 25.7 kB / 0.6681 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.1655, allocations: 92.14 kB / 0.6682 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.1655, allocations: 7.906 kB / 0.6682 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.1655, allocations: 17.7 kB / 0.6682 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1656, allocations: 326.7 kB / 0.6685 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1658, allocations: 35.95 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1659, allocations: 35.91 kB / 0.6686 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.1662, allocations: 72.78 kB / 0.6686 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1662, allocations: 0 / 0.6686 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003283/0.1666, allocations: 105.6 kB / 0.6687 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1666, allocations: 4 kB / 0.6687 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1666, allocations: 0 / 0.6687 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1666, allocations: 3.938 kB / 0.6687 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1668, allocations: 15.98 kB / 0.6687 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1668, allocations: 7.984 kB / 0.6688 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.1669, allocations: 19.88 kB / 0.6688 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1669, allocations: 0 / 0.6688 GB, free: 1.301 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.877e-05/0.167, allocations: 117.8 kB / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.167, allocations: 4 kB / 0.6689 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.1674, allocations: 113.8 kB / 0.669 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1674, allocations: 4 kB / 0.669 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1674, allocations: 0 / 0.669 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1674, allocations: 48 / 0.669 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1676, allocations: 193.5 kB / 0.6692 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1676, allocations: 0 / 0.6692 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.1677, allocations: 19.92 kB / 0.6692 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1677, allocations: 0 / 0.6692 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1677, allocations: 0 / 0.6692 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1677, allocations: 0 / 0.6692 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1678, allocations: 7.984 kB / 0.6692 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.1681, allocations: 199.4 kB / 0.6694 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1682, allocations: 89.05 kB / 0.6695 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1683, allocations: 0 / 0.6695 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1684, allocations: 11.98 kB / 0.6695 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1684, allocations: 4 kB / 0.6695 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1684, allocations: 0 / 0.6695 GB, free: 460 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.333e-05/0.1685, allocations: 99.31 kB / 0.6696 GB, free: 360 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1685, allocations: 7.938 kB / 0.6696 GB, free: 352 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000228/0.1687, allocations: 8 kB / 0.6696 GB, free: 344 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.0001418/0.1689, allocations: 108.4 kB / 0.6697 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.1692, allocations: 75.92 kB / 0.6698 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1692, allocations: 0 / 0.6698 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.1694, allocations: 43.95 kB / 0.6698 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1697, allocations: 4 kB / 0.6698 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.1701, allocations: 153.1 kB / 0.67 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.1706, allocations: 0.6923 MB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.652e-05/0.1707, allocations: 12.17 kB / 0.6707 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.1707, allocations: 15.44 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1707, allocations: 0 / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.003092/0.1738, allocations: 0.764 MB / 0.6714 GB, free: 14.42 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)