Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 118.8 kB / 17.09 MB, free: 6.008 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.001393/0.001393, allocations: 193.6 kB / 18.03 MB, free: 5.086 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7718/0.7718, allocations: 126.1 MB / 417.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 71.53 kB / 0.5738 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 78.7 MB / 0.6506 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002751/0.1273, allocations: 1.769 MB / 0.6523 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1289, allocations: 1.104 MB / 0.6534 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.129, allocations: 0 / 0.6534 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1293, allocations: 63.67 kB / 0.6535 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1296, allocations: 79.67 kB / 0.6536 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.1302, allocations: 225.8 kB / 0.6538 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1304, allocations: 143.6 kB / 0.6539 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1305, allocations: 33.09 kB / 0.6539 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1306, allocations: 67.75 kB / 0.654 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.1307, allocations: 63.75 kB / 0.6541 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1307, allocations: 8 kB / 0.6541 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.1309, allocations: 67.89 kB / 0.6541 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.131, allocations: 43.84 kB / 0.6542 GB, free: 460 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.182e-05/0.131, allocations: 55.67 kB / 0.6542 GB, free: 404 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1314, allocations: 211.1 kB / 0.6544 GB, free: 192 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1314, allocations: 0 / 0.6544 GB, free: 192 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1314, allocations: 0 / 0.6544 GB, free: 192 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1314, allocations: 0 / 0.6544 GB, free: 192 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006277/0.132, allocations: 496.1 kB / 0.6549 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1321, allocations: 12.03 kB / 0.6549 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.1321, allocations: 16.84 kB / 0.6549 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.1325, allocations: 256.9 kB / 0.6552 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1325, allocations: 4.375 kB / 0.6552 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1325, allocations: 8.125 kB / 0.6552 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.1327, allocations: 96.17 kB / 0.6553 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1327, allocations: 0 / 0.6553 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1328, allocations: 3.984 kB / 0.6553 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.1328, allocations: 4 kB / 0.6553 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1329, allocations: 35.91 kB / 0.6553 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.1334, allocations: 352.7 kB / 0.6557 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1337, allocations: 90.75 kB / 0.6557 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.1337, allocations: 32.78 kB / 0.6558 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1338, allocations: 7.938 kB / 0.6558 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.1339, allocations: 83.38 kB / 0.6559 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.704e-06/0.134, allocations: 0 / 0.6559 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003432/0.1343, allocations: 141.5 kB / 0.656 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.1344, allocations: 106.8 kB / 0.6561 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.1346, allocations: 270.7 kB / 0.6564 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1347, allocations: 25.7 kB / 0.6564 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.1347, allocations: 120.1 kB / 0.6565 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1348, allocations: 23.84 kB / 0.6565 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.1348, allocations: 25.72 kB / 0.6565 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1349, allocations: 334.8 kB / 0.6569 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.135, allocations: 23.98 kB / 0.6569 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1351, allocations: 68.22 kB / 0.6569 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1353, allocations: 77.62 kB / 0.657 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1353, allocations: 0 / 0.657 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000221/0.1355, allocations: 113.6 kB / 0.6571 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1356, allocations: 4 kB / 0.6571 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1356, allocations: 4 kB / 0.6571 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1356, allocations: 0 / 0.6571 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.1357, allocations: 15.92 kB / 0.6572 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1357, allocations: 4 kB / 0.6572 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1358, allocations: 12.03 kB / 0.6572 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.1358, allocations: 3.938 kB / 0.6572 GB, free: 13.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 0.0001192/0.1359, allocations: 142.5 kB / 0.6573 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.136, allocations: 15.91 kB / 0.6573 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.136, allocations: 21.39 kB / 0.6573 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.136, allocations: 4 kB / 0.6573 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.136, allocations: 0 / 0.6573 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.1361, allocations: 89.02 kB / 0.6574 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1361, allocations: 11.92 kB / 0.6574 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.1362, allocations: 4 kB / 0.6574 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.1362, allocations: 11.98 kB / 0.6575 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002745/0.1365, allocations: 184.9 kB / 0.6576 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002924/0.1368, allocations: 299 kB / 0.6579 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.538e-05/0.1369, allocations: 40 kB / 0.658 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001757/0.1371, allocations: 196.6 kB / 0.6581 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Backend: time 4.3e-07/0.1371, allocations: 192 / 0.6581 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.1385, allocations: 455.6 kB / 0.6586 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0007025/0.1392, allocations: 0.7399 MB / 0.6593 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.005724/0.1449, allocations: 2.587 MB / 0.6618 GB, free: 8.402 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)