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.001076/0.001076, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001047/0.001047, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7892/0.7892, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 71.52 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1274, allocations: 80.21 MB / 0.6604 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002383/0.1299, allocations: 1.523 MB / 0.6618 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.1301, allocations: 116.5 kB / 0.6619 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.1302, allocations: 0 / 0.6619 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1303, allocations: 19.86 kB / 0.662 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.448e-05/0.1304, allocations: 3.938 kB / 0.662 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.1306, allocations: 23.97 kB / 0.662 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.1307, allocations: 55.78 kB / 0.662 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1308, allocations: 27.98 kB / 0.6621 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.1308, allocations: 27.84 kB / 0.6621 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.1309, allocations: 27.91 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1309, allocations: 8 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.602e-05/0.131, allocations: 11.98 kB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.131, allocations: 19.94 kB / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.1311, allocations: 23.86 kB / 0.6622 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1312, allocations: 63.67 kB / 0.6622 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1312, allocations: 0 / 0.6622 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1312, allocations: 0 / 0.6622 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1312, allocations: 0 / 0.6622 GB, free: 8.328 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.0004944/0.1317, allocations: 387.1 kB / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.1318, allocations: 8.031 kB / 0.6626 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1318, allocations: 16.88 kB / 0.6626 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.132, allocations: 176.3 kB / 0.6628 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.132, allocations: 8.375 kB / 0.6628 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.132, allocations: 384 / 0.6628 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1323, allocations: 90.14 kB / 0.6629 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1323, allocations: 192 / 0.6629 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1323, allocations: 7.938 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1323, allocations: 4 kB / 0.6629 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.1326, allocations: 83.91 kB / 0.663 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.1332, allocations: 328.6 kB / 0.6633 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1334, allocations: 62.53 kB / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1335, allocations: 36.92 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1336, allocations: 3.984 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1336, allocations: 34.56 kB / 0.6634 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1336, allocations: 0 / 0.6634 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005118/0.1341, allocations: 145.6 kB / 0.6636 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.1341, allocations: 51.41 kB / 0.6636 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.1342, allocations: 113.8 kB / 0.6637 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1343, allocations: 25.7 kB / 0.6638 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.1343, allocations: 96.08 kB / 0.6639 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.1343, allocations: 11.95 kB / 0.6639 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.1344, allocations: 13.72 kB / 0.6639 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1345, allocations: 322.8 kB / 0.6642 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1346, allocations: 31.97 kB / 0.6642 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1348, allocations: 43.83 kB / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.135, allocations: 72.78 kB / 0.6643 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.135, allocations: 0 / 0.6643 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.1354, allocations: 109.5 kB / 0.6644 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1354, allocations: 4 kB / 0.6644 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.1354, allocations: 4 kB / 0.6644 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1354, allocations: 4 kB / 0.6644 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1355, allocations: 11.98 kB / 0.6645 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1355, allocations: 0 / 0.6645 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.1356, allocations: 19.92 kB / 0.6645 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1356, allocations: 0 / 0.6645 GB, free: 5.82 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.778e-05/0.1357, allocations: 121.8 kB / 0.6646 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.1358, allocations: 4 kB / 0.6646 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.1361, allocations: 117.8 kB / 0.6647 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1361, allocations: 4.031 kB / 0.6647 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1361, allocations: 3.984 kB / 0.6647 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.1362, allocations: 81.06 kB / 0.6648 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1362, allocations: 0 / 0.6648 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1363, allocations: 15.92 kB / 0.6648 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1364, allocations: 8 kB / 0.6648 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003956/0.1368, allocations: 188.9 kB / 0.665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003787/0.1372, allocations: 282.6 kB / 0.6653 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001569/0.1373, allocations: 39.95 kB / 0.6653 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.1374, allocations: 98.22 kB / 0.6654 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of Backend: time 4.91e-07/0.1374, allocations: 0 / 0.6654 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.1379, allocations: 114.4 kB / 0.6655 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004924/0.1384, allocations: 0.5998 MB / 0.6661 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of Templates: time 0.003021/0.1414, allocations: 0.9638 MB / 0.667 GB, free: 3.086 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)