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.001076/0.001076, allocations: 112.9 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.001136/0.001136, allocations: 200.2 kB / 18.03 MB, free: 5.055 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.339/1.339, 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.7757/0.7757, allocations: 126.1 MB / 418 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 68.28 kB / 0.5737 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 78.7 MB / 0.6506 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002517/0.1314, allocations: 1.522 MB / 0.6521 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003076/0.1317, allocations: 112.5 kB / 0.6522 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.1318, allocations: 4 kB / 0.6522 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.1319, allocations: 3.938 kB / 0.6522 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.368e-05/0.1319, allocations: 11.88 kB / 0.6522 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1322, allocations: 31.97 kB / 0.6522 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.1323, allocations: 55.77 kB / 0.6523 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1324, allocations: 31.98 kB / 0.6523 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.1325, allocations: 23.91 kB / 0.6524 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.1325, allocations: 27.91 kB / 0.6524 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1325, allocations: 4 kB / 0.6524 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.1326, allocations: 8 kB / 0.6524 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.1327, allocations: 19.92 kB / 0.6524 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.1327, allocations: 23.88 kB / 0.6524 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1328, allocations: 63.72 kB / 0.6525 GB, free: 2.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1328, allocations: 0 / 0.6525 GB, free: 2.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1328, allocations: 0 / 0.6525 GB, free: 2.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1329, allocations: 4 kB / 0.6525 GB, free: 2.125 MB / 494.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.0004841/0.1333, allocations: 387.1 kB / 0.6529 GB, free: 1.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1334, allocations: 15.97 kB / 0.6529 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.1334, allocations: 0.9375 kB / 0.6529 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.1336, allocations: 176.3 kB / 0.6531 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1336, allocations: 12.38 kB / 0.6531 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1336, allocations: 384 / 0.6531 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1339, allocations: 90.2 kB / 0.6532 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.1339, allocations: 4.172 kB / 0.6532 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1339, allocations: 3.938 kB / 0.6532 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.1339, allocations: 4 kB / 0.6532 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.1342, allocations: 87.78 kB / 0.6532 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.1347, allocations: 332.7 kB / 0.6536 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1349, allocations: 62.56 kB / 0.6536 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1351, allocations: 42.56 kB / 0.6537 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.1351, allocations: 4 kB / 0.6537 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1351, allocations: 30.56 kB / 0.6537 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1351, allocations: 0 / 0.6537 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005286/0.1357, allocations: 141.5 kB / 0.6538 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1357, allocations: 59.41 kB / 0.6539 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.1358, allocations: 117.8 kB / 0.654 GB, free: 404 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1358, allocations: 29.69 kB / 0.654 GB, free: 368 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.1359, allocations: 92.09 kB / 0.6541 GB, free: 272 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1359, allocations: 3.953 kB / 0.6541 GB, free: 268 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.1359, allocations: 21.7 kB / 0.6541 GB, free: 240 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1361, allocations: 314.8 kB / 0.6544 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1362, allocations: 43.95 kB / 0.6545 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1364, allocations: 35.91 kB / 0.6545 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.1366, allocations: 68.78 kB / 0.6546 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1366, allocations: 0 / 0.6546 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003125/0.1369, allocations: 113.5 kB / 0.6547 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.137, allocations: 4 kB / 0.6547 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.137, allocations: 0 / 0.6547 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.137, allocations: 0 / 0.6547 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1371, allocations: 15.98 kB / 0.6547 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1371, allocations: 0 / 0.6547 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.1372, allocations: 27.91 kB / 0.6547 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1372, allocations: 0 / 0.6547 GB, free: 15.61 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.515e-05/0.1373, allocations: 117.1 kB / 0.6549 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.1374, allocations: 7.953 kB / 0.6549 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.1377, allocations: 113.5 kB / 0.655 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1377, allocations: 8 kB / 0.655 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1377, allocations: 3.938 kB / 0.655 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1378, allocations: 77.48 kB / 0.6551 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1378, allocations: 0 / 0.6551 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1379, allocations: 15.92 kB / 0.6551 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.138, allocations: 3.984 kB / 0.6551 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000392/0.1384, allocations: 196.9 kB / 0.6553 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003698/0.1387, allocations: 278.6 kB / 0.6555 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001477/0.1389, allocations: 35.97 kB / 0.6556 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.1389, allocations: 95.27 kB / 0.6556 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of Backend: time 3.6e-07/0.1389, allocations: 0 / 0.6556 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.1394, allocations: 120 kB / 0.6558 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of SimCode: time 0.000477/0.1399, allocations: 0.596 MB / 0.6563 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.003153/0.1431, allocations: 0.9578 MB / 0.6573 GB, free: 12.89 MB / 0.4981 GB 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)