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.001108/0.001108, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001049/0.001049, allocations: 189.4 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7932/0.7932, allocations: 135.1 MB / 426.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 65.91 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.129, allocations: 80.93 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002336/0.1314, allocations: 1.524 MB / 0.6668 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002832/0.1317, allocations: 116.5 kB / 0.6669 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.1317, allocations: 4 kB / 0.6669 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.1319, allocations: 7.938 kB / 0.6669 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.1319, allocations: 7.875 kB / 0.6669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.1321, allocations: 27.95 kB / 0.667 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.351e-05/0.1322, allocations: 55.84 kB / 0.667 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1323, allocations: 35.81 kB / 0.6671 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.1324, allocations: 23.92 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.1324, allocations: 31.91 kB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1325, allocations: 4 kB / 0.6671 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.132e-05/0.1325, allocations: 8 kB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.1326, allocations: 19.92 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.1326, allocations: 23.86 kB / 0.6672 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1327, allocations: 55.73 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1327, allocations: 4 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1327, allocations: 0 / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.1328, allocations: 8 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.0004927/0.1333, allocations: 383.1 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1333, allocations: 9.109 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.1333, allocations: 12.83 kB / 0.6676 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1335, allocations: 180.3 kB / 0.6678 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1335, allocations: 4.375 kB / 0.6678 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1335, allocations: 4.375 kB / 0.6678 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1338, allocations: 90.14 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1338, allocations: 8.109 kB / 0.6679 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1338, allocations: 7.938 kB / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1338, allocations: 0 / 0.6679 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.1341, allocations: 75.92 kB / 0.668 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.1346, allocations: 332.6 kB / 0.6683 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1348, allocations: 58.53 kB / 0.6683 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.135, allocations: 40.91 kB / 0.6684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.135, allocations: 4 kB / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1351, allocations: 34.56 kB / 0.6684 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1351, allocations: 0 / 0.6684 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000509/0.1356, allocations: 141.6 kB / 0.6685 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1356, allocations: 55.41 kB / 0.6686 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.1357, allocations: 117.8 kB / 0.6687 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1357, allocations: 25.7 kB / 0.6687 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.1358, allocations: 88.14 kB / 0.6688 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.1358, allocations: 15.89 kB / 0.6688 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.1359, allocations: 17.7 kB / 0.6689 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.136, allocations: 318.8 kB / 0.6692 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1361, allocations: 35.95 kB / 0.6692 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1363, allocations: 35.97 kB / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.1365, allocations: 69.06 kB / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1365, allocations: 3.938 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003074/0.1369, allocations: 113.5 kB / 0.6694 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1369, allocations: 8 kB / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1369, allocations: 0 / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1369, allocations: 0 / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.137, allocations: 15.97 kB / 0.6694 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.137, allocations: 4 kB / 0.6694 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.1371, allocations: 23.88 kB / 0.6695 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1371, allocations: 4 kB / 0.6695 GB, free: 1.324 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.195e-05/0.1372, allocations: 113.8 kB / 0.6696 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1373, allocations: 0 / 0.6696 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.1376, allocations: 121.4 kB / 0.6697 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1376, allocations: 4 kB / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1376, allocations: 0 / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.1377, allocations: 81.06 kB / 0.6698 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1377, allocations: 4 kB / 0.6698 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1378, allocations: 19.86 kB / 0.6698 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1379, allocations: 7.984 kB / 0.6698 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003805/0.1382, allocations: 192.9 kB / 0.67 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003701/0.1386, allocations: 274.7 kB / 0.6702 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001403/0.1388, allocations: 39.95 kB / 0.6703 GB, free: 432 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.1388, allocations: 87.28 kB / 0.6704 GB, free: 344 kB / 0.4981 GB Notification: Performance of Backend: time 3.1e-07/0.1388, allocations: 0 / 0.6704 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.1393, allocations: 121.1 kB / 0.6705 GB, free: 220 kB / 0.4981 GB Notification: Performance of SimCode: time 0.0004723/0.1398, allocations: 0.596 MB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.003108/0.1429, allocations: 0.9532 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)