Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001319/0.001319, allocations: 110.7 kB / 17.09 MB, free: 5.984 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.001217/0.001217, allocations: 189.6 kB / 18.02 MB, free: 5.074 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.23/1.23, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.662/0.662, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 71.8 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 76.18 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002341/0.1158, allocations: 1.52 MB / 0.6342 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.1161, allocations: 104.6 kB / 0.6343 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.1162, allocations: 3.938 kB / 0.6343 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.1163, allocations: 15.92 kB / 0.6344 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.149e-05/0.1163, allocations: 7.922 kB / 0.6344 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.1165, allocations: 27.91 kB / 0.6344 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.1166, allocations: 51.91 kB / 0.6344 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1167, allocations: 23.98 kB / 0.6345 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.1168, allocations: 23.86 kB / 0.6345 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.1169, allocations: 35.83 kB / 0.6345 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1169, allocations: 12 kB / 0.6345 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.117, allocations: 16 kB / 0.6345 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.117, allocations: 15.92 kB / 0.6346 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.117, allocations: 23.86 kB / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1172, allocations: 55.8 kB / 0.6346 GB, free: 2.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1172, allocations: 0 / 0.6346 GB, free: 2.426 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1172, allocations: 0 / 0.6346 GB, free: 2.426 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1172, allocations: 0 / 0.6346 GB, free: 2.426 MB / 478.1 MB 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.0004591/0.1176, allocations: 379.3 kB / 0.635 GB, free: 2.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1177, allocations: 12.03 kB / 0.635 GB, free: 1.992 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.1177, allocations: 12.84 kB / 0.635 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.1179, allocations: 196 kB / 0.6352 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1179, allocations: 8.312 kB / 0.6352 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1179, allocations: 8.359 kB / 0.6352 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1182, allocations: 82.2 kB / 0.6353 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1182, allocations: 192 / 0.6353 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1182, allocations: 3.938 kB / 0.6353 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1182, allocations: 8 kB / 0.6353 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.1185, allocations: 79.91 kB / 0.6354 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.119, allocations: 324.6 kB / 0.6357 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1192, allocations: 62.53 kB / 0.6358 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.1193, allocations: 41.02 kB / 0.6358 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1193, allocations: 3.938 kB / 0.6358 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1194, allocations: 34.55 kB / 0.6358 GB, free: 1.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1194, allocations: 4 kB / 0.6358 GB, free: 1.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005263/0.1199, allocations: 133.6 kB / 0.636 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.1199, allocations: 51.41 kB / 0.636 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.12, allocations: 113.8 kB / 0.6361 GB, free: 0.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.12, allocations: 25.7 kB / 0.6361 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.1201, allocations: 104 kB / 0.6362 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.1201, allocations: 7.906 kB / 0.6363 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.1202, allocations: 13.72 kB / 0.6363 GB, free: 0.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.1203, allocations: 326.8 kB / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1204, allocations: 27.97 kB / 0.6366 GB, free: 192 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1205, allocations: 43.89 kB / 0.6366 GB, free: 148 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.1208, allocations: 68.78 kB / 0.6367 GB, free: 76 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1208, allocations: 0 / 0.6367 GB, free: 76 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000325/0.1212, allocations: 105.5 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1212, allocations: 11.98 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1212, allocations: 0 / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1212, allocations: 4 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1213, allocations: 15.92 kB / 0.6368 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1213, allocations: 0 / 0.6368 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.1214, allocations: 11.98 kB / 0.6369 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1214, allocations: 0 / 0.6369 GB, free: 15.92 MB / 494.1 MB 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.202e-05/0.1215, allocations: 129.7 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1215, allocations: 4 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.1219, allocations: 113.5 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1219, allocations: 384 / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1219, allocations: 0 / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.122, allocations: 85 kB / 0.6372 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.122, allocations: 0 / 0.6372 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1221, allocations: 19.92 kB / 0.6372 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1221, allocations: 11.98 kB / 0.6372 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003956/0.1225, allocations: 184.8 kB / 0.6374 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003737/0.1229, allocations: 278.7 kB / 0.6376 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001492/0.1231, allocations: 39.95 kB / 0.6377 GB, free: 15.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.1231, allocations: 95.27 kB / 0.6378 GB, free: 14.91 MB / 494.1 MB Notification: Performance of Backend: time 1.91e-07/0.1231, allocations: 0 / 0.6378 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004554/0.1236, allocations: 127.7 kB / 0.6379 GB, free: 14.79 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004427/0.1241, allocations: 0.5961 MB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of Templates: time 0.002879/0.1269, allocations: 0.9571 MB / 0.6394 GB, free: 13.19 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)