Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001093/0.001093, allocations: 115.3 kB / 16.42 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.001102/0.001102, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7827/0.7827, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 62.94 kB / 0.582 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1246, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002541/0.1272, allocations: 1.532 MB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003097/0.1275, allocations: 108.5 kB / 0.6619 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.1276, allocations: 3.938 kB / 0.662 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.1277, allocations: 7.938 kB / 0.662 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.445e-05/0.1277, allocations: 7.922 kB / 0.662 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.128, allocations: 39.89 kB / 0.662 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.1281, allocations: 51.84 kB / 0.6621 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1282, allocations: 23.98 kB / 0.6621 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.368e-05/0.1283, allocations: 23.86 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.1284, allocations: 35.89 kB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1284, allocations: 4 kB / 0.6621 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.814e-05/0.1284, allocations: 12 kB / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.1285, allocations: 19.92 kB / 0.6622 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.1285, allocations: 23.86 kB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1287, allocations: 59.8 kB / 0.6622 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1287, allocations: 0 / 0.6622 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1287, allocations: 0 / 0.6622 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.1287, allocations: 0 / 0.6622 GB, free: 8.301 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.0005252/0.1292, allocations: 383.2 kB / 0.6626 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1293, allocations: 12.03 kB / 0.6626 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1293, allocations: 4.844 kB / 0.6626 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.1295, allocations: 184.2 kB / 0.6628 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1295, allocations: 8.312 kB / 0.6628 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.1295, allocations: 384 / 0.6628 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.1298, allocations: 90.19 kB / 0.6629 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1298, allocations: 192 / 0.6629 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1299, allocations: 11.94 kB / 0.6629 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1299, allocations: 4 kB / 0.6629 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.1302, allocations: 75.91 kB / 0.663 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.1307, allocations: 328.7 kB / 0.6633 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1309, allocations: 54.53 kB / 0.6634 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1311, allocations: 45 kB / 0.6634 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.1311, allocations: 3.938 kB / 0.6634 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1312, allocations: 34.56 kB / 0.6634 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.1312, allocations: 0 / 0.6634 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005521/0.1317, allocations: 133.5 kB / 0.6636 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.1318, allocations: 59.34 kB / 0.6636 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.1319, allocations: 117.8 kB / 0.6637 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1319, allocations: 29.7 kB / 0.6638 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1319, allocations: 99.98 kB / 0.6639 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.132, allocations: 3.906 kB / 0.6639 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.132, allocations: 17.7 kB / 0.6639 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1321, allocations: 318.8 kB / 0.6642 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.1323, allocations: 39.89 kB / 0.6642 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1324, allocations: 39.91 kB / 0.6643 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1327, allocations: 72.77 kB / 0.6643 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1327, allocations: 0 / 0.6643 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000329/0.1331, allocations: 109.5 kB / 0.6644 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1331, allocations: 4 kB / 0.6644 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1331, allocations: 0 / 0.6644 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1331, allocations: 0 / 0.6644 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1332, allocations: 23.97 kB / 0.6645 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.1332, allocations: 0 / 0.6645 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.764e-05/0.1333, allocations: 11.98 kB / 0.6645 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1333, allocations: 0 / 0.6645 GB, free: 5.801 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.366e-05/0.1334, allocations: 125.7 kB / 0.6646 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.1335, allocations: 4 kB / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.1339, allocations: 109.5 kB / 0.6647 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1339, allocations: 4 kB / 0.6647 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1339, allocations: 0 / 0.6647 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1339, allocations: 81.02 kB / 0.6648 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1339, allocations: 4 kB / 0.6648 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1341, allocations: 19.91 kB / 0.6648 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.1341, allocations: 4 kB / 0.6648 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004172/0.1345, allocations: 189.2 kB / 0.665 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003842/0.1349, allocations: 278.8 kB / 0.6652 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001524/0.1351, allocations: 39.95 kB / 0.6653 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.1351, allocations: 90.12 kB / 0.6654 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of Backend: time 3.51e-07/0.1351, allocations: 4 kB / 0.6654 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000474/0.1356, allocations: 122.3 kB / 0.6655 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004892/0.1361, allocations: 0.5998 MB / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of Templates: time 0.003093/0.1392, allocations: 0.9662 MB / 0.667 GB, free: 3.07 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)