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.01201/0.01201, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002397/0.002397, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9546/0.9546, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 59.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4614, allocations: 80.91 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002758/0.4642, allocations: 1.538 MB / 0.6661 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000329/0.4645, allocations: 113.4 kB / 0.6662 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.4646, allocations: 1.344 kB / 0.6662 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.4647, allocations: 15.86 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.637e-05/0.4648, allocations: 12.98 kB / 0.6663 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.4651, allocations: 28.16 kB / 0.6663 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.4652, allocations: 55.14 kB / 0.6664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.4653, allocations: 20.09 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.4654, allocations: 25.69 kB / 0.6664 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.4655, allocations: 32.25 kB / 0.6664 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.4655, allocations: 5.406 kB / 0.6664 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.4655, allocations: 11.92 kB / 0.6664 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.4656, allocations: 24.02 kB / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.4656, allocations: 22.28 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.4658, allocations: 58.64 kB / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4658, allocations: 5.203 kB / 0.6666 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4658, allocations: 0 / 0.6666 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.4658, allocations: 0 / 0.6666 GB, free: 6.078 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.0004459/0.4663, allocations: 384.8 kB / 0.6669 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4663, allocations: 8.906 kB / 0.6669 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.4663, allocations: 8.578 kB / 0.6669 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4665, allocations: 184.3 kB / 0.6671 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.4665, allocations: 3.375 kB / 0.6671 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4665, allocations: 1.906 kB / 0.6671 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.4668, allocations: 89.36 kB / 0.6672 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4668, allocations: 4.188 kB / 0.6672 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4668, allocations: 5.281 kB / 0.6672 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.4668, allocations: 1.156 kB / 0.6672 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.4671, allocations: 81.09 kB / 0.6673 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.4676, allocations: 331 kB / 0.6676 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.4678, allocations: 58.97 kB / 0.6677 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.4679, allocations: 44.61 kB / 0.6677 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.468, allocations: 1.219 kB / 0.6677 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.468, allocations: 44.22 kB / 0.6677 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.468, allocations: 0 / 0.6677 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005368/0.4685, allocations: 135 kB / 0.6679 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.4686, allocations: 51.41 kB / 0.6679 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.4686, allocations: 123 kB / 0.668 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.4687, allocations: 29.64 kB / 0.6681 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.4687, allocations: 91.62 kB / 0.6682 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.4687, allocations: 17.09 kB / 0.6682 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.4688, allocations: 13.59 kB / 0.6682 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.4688, allocations: 323.9 kB / 0.6685 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.469, allocations: 29.88 kB / 0.6685 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.4691, allocations: 39.45 kB / 0.6686 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.4694, allocations: 73.38 kB / 0.6686 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4694, allocations: 1.125 kB / 0.6686 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003246/0.4698, allocations: 103.6 kB / 0.6687 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4698, allocations: 8.844 kB / 0.6687 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4698, allocations: 0 / 0.6687 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4698, allocations: 0 / 0.6687 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.47, allocations: 18.17 kB / 0.6688 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.47, allocations: 1.219 kB / 0.6688 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.4701, allocations: 14.56 kB / 0.6688 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.4701, allocations: 1.281 kB / 0.6688 GB, free: 4.02 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.078e-05/0.4702, allocations: 122.3 kB / 0.6689 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.4702, allocations: 10.09 kB / 0.6689 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.4706, allocations: 115.6 kB / 0.669 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4706, allocations: 1.531 kB / 0.669 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4706, allocations: 0 / 0.669 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4707, allocations: 0 / 0.669 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.4708, allocations: 182.8 kB / 0.6692 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4708, allocations: 0 / 0.6692 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.471, allocations: 14.23 kB / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.471, allocations: 1.438 kB / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.471, allocations: 0 / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.471, allocations: 0 / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.471, allocations: 1.25 kB / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.4714, allocations: 210.7 kB / 0.6694 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.4714, allocations: 79.64 kB / 0.6695 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4714, allocations: 0 / 0.6695 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4715, allocations: 23.5 kB / 0.6695 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.4716, allocations: 1.234 kB / 0.6695 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4716, allocations: 10.2 kB / 0.6695 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.4717, allocations: 95.11 kB / 0.6696 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4717, allocations: 0 / 0.6696 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002462/0.4719, allocations: 9.312 kB / 0.6696 GB, free: 3.203 MB / 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.000188/0.4721, allocations: 109.4 kB / 0.6697 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.4725, allocations: 75.66 kB / 0.6698 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4725, allocations: 7.938 kB / 0.6698 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.4727, allocations: 35.69 kB / 0.6698 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.473, allocations: 10.52 kB / 0.6698 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.4734, allocations: 162.7 kB / 0.67 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.4735, allocations: 0.6882 MB / 0.6707 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.541e-05/0.4736, allocations: 12.92 kB / 0.6707 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.4736, allocations: 8.844 kB / 0.6707 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4736, allocations: 1.125 kB / 0.6707 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of Templates: time 0.003032/0.4766, allocations: 0.755 MB / 0.6714 GB, free: 1.797 MB / 0.4981 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)