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.00119/0.00119, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.00133/0.00133, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7193/0.7193, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 66.61 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.12, allocations: 80.94 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002355/0.1224, allocations: 1.53 MB / 0.6668 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002774/0.1227, allocations: 112.5 kB / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.1227, allocations: 7.938 kB / 0.6669 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.5e-05/0.1228, allocations: 7.875 kB / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.1229, allocations: 7.938 kB / 0.6669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.1231, allocations: 31.95 kB / 0.667 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.147e-05/0.1232, allocations: 51.84 kB / 0.667 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1233, allocations: 35.83 kB / 0.6671 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.1233, allocations: 23.91 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.1234, allocations: 27.91 kB / 0.6671 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1234, allocations: 4 kB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.1235, allocations: 12 kB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.1235, allocations: 15.92 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.1236, allocations: 27.86 kB / 0.6672 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1237, allocations: 63.73 kB / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1237, allocations: 0 / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1237, allocations: 0 / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.1237, allocations: 4 kB / 0.6672 GB, free: 3.84 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.0004843/0.1242, allocations: 375.3 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1243, allocations: 13.11 kB / 0.6676 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.1243, allocations: 4.875 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1245, allocations: 184.2 kB / 0.6678 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1245, allocations: 4.375 kB / 0.6678 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.1246, allocations: 384 / 0.6678 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.1249, allocations: 98.12 kB / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1249, allocations: 192 / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1249, allocations: 7.938 kB / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.125, allocations: 0 / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.1253, allocations: 75.92 kB / 0.668 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.1257, allocations: 332.6 kB / 0.6683 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1259, allocations: 54.53 kB / 0.6683 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.1261, allocations: 44.91 kB / 0.6684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1261, allocations: 4 kB / 0.6684 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1262, allocations: 30.56 kB / 0.6684 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1262, allocations: 0 / 0.6684 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005012/0.1267, allocations: 145.5 kB / 0.6685 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1267, allocations: 55.41 kB / 0.6686 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.1268, allocations: 117.8 kB / 0.6687 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1268, allocations: 29.64 kB / 0.6687 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.1269, allocations: 96.08 kB / 0.6688 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1269, allocations: 7.812 kB / 0.6688 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.1269, allocations: 17.7 kB / 0.6688 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.127, allocations: 318.8 kB / 0.6692 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1271, allocations: 39.95 kB / 0.6692 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1273, allocations: 31.97 kB / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.1275, allocations: 72.77 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1276, allocations: 7.938 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000302/0.1279, allocations: 105.6 kB / 0.6694 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1279, allocations: 5.875 kB / 0.6694 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1279, allocations: 0 / 0.6694 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1279, allocations: 0 / 0.6694 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.128, allocations: 19.97 kB / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1281, allocations: 0 / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.1281, allocations: 15.98 kB / 0.6694 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1281, allocations: 0 / 0.6694 GB, free: 1.348 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 7.34e-05/0.1282, allocations: 117.8 kB / 0.6696 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1283, allocations: 7.906 kB / 0.6696 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.1286, allocations: 117.4 kB / 0.6697 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1286, allocations: 4 kB / 0.6697 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1286, allocations: 0 / 0.6697 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1287, allocations: 81.02 kB / 0.6698 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1287, allocations: 0 / 0.6698 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1288, allocations: 23.91 kB / 0.6698 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.1288, allocations: 4 kB / 0.6698 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003767/0.1292, allocations: 192.9 kB / 0.67 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003541/0.1296, allocations: 274.7 kB / 0.6702 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001413/0.1297, allocations: 44.42 kB / 0.6703 GB, free: 448 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.1298, allocations: 87.28 kB / 0.6704 GB, free: 360 kB / 0.4981 GB Notification: Performance of Backend: time 4.11e-07/0.1298, allocations: 0 / 0.6704 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.1302, allocations: 123.1 kB / 0.6705 GB, free: 232 kB / 0.4981 GB Notification: Performance of SimCode: time 0.0004148/0.1307, allocations: 0.5998 MB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.002665/0.1333, allocations: 0.9588 MB / 0.672 GB, free: 14.62 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)