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.001137/0.001138, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001289/0.001289, allocations: 186.2 kB / 17.34 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7599/0.7599, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 69.17 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002767/0.1373, allocations: 1.528 MB / 0.6618 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003514/0.1377, allocations: 116.5 kB / 0.6619 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.1378, allocations: 7.875 kB / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1379, allocations: 3.938 kB / 0.662 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.047e-05/0.138, allocations: 11.92 kB / 0.662 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.1382, allocations: 35.89 kB / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.1384, allocations: 51.84 kB / 0.662 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1385, allocations: 23.98 kB / 0.6621 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/0.1386, allocations: 23.92 kB / 0.6621 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.1387, allocations: 27.91 kB / 0.6621 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1387, allocations: 4 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.1388, allocations: 15.94 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.1388, allocations: 19.91 kB / 0.6622 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.1389, allocations: 27.86 kB / 0.6622 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.139, allocations: 55.81 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.139, allocations: 4 kB / 0.6622 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.139, allocations: 0 / 0.6622 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.139, allocations: 0 / 0.6622 GB, free: 8.332 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.0005715/0.1396, allocations: 379.2 kB / 0.6626 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1397, allocations: 12.03 kB / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1397, allocations: 4.844 kB / 0.6626 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1399, allocations: 188.2 kB / 0.6628 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1399, allocations: 8.375 kB / 0.6628 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1399, allocations: 4.312 kB / 0.6628 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.1402, allocations: 90.19 kB / 0.6629 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1402, allocations: 192 / 0.6629 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1402, allocations: 7.938 kB / 0.6629 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1403, allocations: 4 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.1406, allocations: 75.92 kB / 0.663 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.1411, allocations: 328.7 kB / 0.6633 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1413, allocations: 50.55 kB / 0.6633 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1415, allocations: 48.91 kB / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.1415, allocations: 0 / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1416, allocations: 34.59 kB / 0.6634 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1416, allocations: 0 / 0.6634 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005828/0.1422, allocations: 137.5 kB / 0.6636 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1422, allocations: 59.39 kB / 0.6636 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.1423, allocations: 116.6 kB / 0.6637 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1423, allocations: 29.64 kB / 0.6637 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1424, allocations: 99.98 kB / 0.6638 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1424, allocations: 7.891 kB / 0.6639 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.1425, allocations: 13.72 kB / 0.6639 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1426, allocations: 322.8 kB / 0.6642 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1427, allocations: 39.89 kB / 0.6642 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1429, allocations: 40.08 kB / 0.6642 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.1432, allocations: 76.86 kB / 0.6643 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1432, allocations: 0 / 0.6643 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003479/0.1436, allocations: 105.5 kB / 0.6644 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1436, allocations: 4 kB / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1436, allocations: 0 / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1436, allocations: 0 / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1437, allocations: 23.97 kB / 0.6645 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1438, allocations: 0 / 0.6645 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.1438, allocations: 11.98 kB / 0.6645 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1439, allocations: 0 / 0.6645 GB, free: 5.832 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.925e-05/0.144, allocations: 121.7 kB / 0.6646 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.144, allocations: 7.984 kB / 0.6646 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.1444, allocations: 109.5 kB / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1444, allocations: 8 kB / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1444, allocations: 0 / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1444, allocations: 0 / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.1446, allocations: 181.6 kB / 0.6649 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1446, allocations: 0 / 0.6649 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.1448, allocations: 19.97 kB / 0.6649 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1448, allocations: 0 / 0.6649 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1448, allocations: 0 / 0.6649 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1448, allocations: 4 kB / 0.6649 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1448, allocations: 0 / 0.6649 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.1454, allocations: 207.2 kB / 0.6651 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.1455, allocations: 85.05 kB / 0.6652 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.1455, allocations: 0 / 0.6652 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1457, allocations: 11.98 kB / 0.6652 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.1458, allocations: 7.984 kB / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1458, allocations: 0 / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.335e-05/0.1459, allocations: 87.28 kB / 0.6653 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.833e-06/0.1459, allocations: 4 kB / 0.6653 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004727/0.1464, allocations: 23.83 kB / 0.6653 GB, free: 4.859 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.0001834/0.1465, allocations: 99.19 kB / 0.6654 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.1471, allocations: 79.86 kB / 0.6655 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1471, allocations: 0 / 0.6655 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.1473, allocations: 47.89 kB / 0.6655 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.1478, allocations: 2.531 kB / 0.6655 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.1484, allocations: 183.2 kB / 0.6657 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1487, allocations: 0.6924 MB / 0.6664 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.1488, allocations: 11.44 kB / 0.6664 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1488, allocations: 0 / 0.6664 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.00357/0.1524, allocations: 0.9338 MB / 0.6673 GB, free: 2.754 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)