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.001085/0.001085, allocations: 110 kB / 16.41 MB, free: 6.484 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.001228/0.001228, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.291/1.291, allocations: 222.9 MB / 241 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.6973/0.6973, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.08 kB / 0.5577 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1523, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002811/0.1552, allocations: 1.763 MB / 0.6338 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1568, allocations: 1.107 MB / 0.6349 GB, free: 1.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.1569, allocations: 4 kB / 0.6349 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.1572, allocations: 55.73 kB / 0.6349 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1574, allocations: 75.67 kB / 0.635 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.158, allocations: 229.5 kB / 0.6352 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1582, allocations: 147.7 kB / 0.6354 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1583, allocations: 25.05 kB / 0.6354 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.1584, allocations: 67.7 kB / 0.6355 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.1585, allocations: 59.75 kB / 0.6355 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1585, allocations: 8 kB / 0.6355 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1587, allocations: 79.88 kB / 0.6356 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.1588, allocations: 39.84 kB / 0.6356 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.1588, allocations: 55.61 kB / 0.6357 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1591, allocations: 199.4 kB / 0.6359 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1591, allocations: 0 / 0.6359 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1591, allocations: 4 kB / 0.6359 GB, free: 500 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1591, allocations: 0 / 0.6359 GB, free: 500 kB / 478.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.0005902/0.1597, allocations: 496.4 kB / 0.6364 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1598, allocations: 12.02 kB / 0.6364 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.1598, allocations: 16.75 kB / 0.6364 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1601, allocations: 248.9 kB / 0.6366 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1601, allocations: 4.375 kB / 0.6366 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.1601, allocations: 8.125 kB / 0.6366 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1603, allocations: 100.2 kB / 0.6367 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1604, allocations: 0 / 0.6367 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1604, allocations: 7.984 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.1604, allocations: 0 / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1605, allocations: 39.97 kB / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.161, allocations: 360.5 kB / 0.6371 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1612, allocations: 86.66 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/0.1613, allocations: 32.84 kB / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.1613, allocations: 0 / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.1615, allocations: 83.41 kB / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.1615, allocations: 4 kB / 0.6373 GB, free: 14.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003342/0.1618, allocations: 137.5 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.1619, allocations: 102.8 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1621, allocations: 263 kB / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1621, allocations: 29.7 kB / 0.6378 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.1622, allocations: 116.1 kB / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.1622, allocations: 19.72 kB / 0.638 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.1623, allocations: 25.7 kB / 0.638 GB, free: 14.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1624, allocations: 334.8 kB / 0.6383 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.1625, allocations: 27.98 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.363e-05/0.1626, allocations: 76.14 kB / 0.6384 GB, free: 13.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1627, allocations: 65.7 kB / 0.6385 GB, free: 13.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1627, allocations: 0 / 0.6385 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.1629, allocations: 129.4 kB / 0.6386 GB, free: 13.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.163, allocations: 4 kB / 0.6386 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.163, allocations: 0 / 0.6386 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.163, allocations: 3.938 kB / 0.6386 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.1631, allocations: 12 kB / 0.6386 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1631, allocations: 0 / 0.6386 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.1632, allocations: 15.86 kB / 0.6386 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1632, allocations: 4.391 kB / 0.6386 GB, free: 13.4 MB / 494.1 MB 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.0001234/0.1633, allocations: 149.8 kB / 0.6388 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.1633, allocations: 11.81 kB / 0.6388 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.1634, allocations: 21.39 kB / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.1634, allocations: 4 kB / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1634, allocations: 0 / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1634, allocations: 3.938 kB / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.1636, allocations: 225.5 kB / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1636, allocations: 0 / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.1637, allocations: 4 kB / 0.639 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1637, allocations: 4 kB / 0.639 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1637, allocations: 7.984 kB / 0.639 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1637, allocations: 0 / 0.639 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1637, allocations: 0 / 0.639 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1639, allocations: 148.8 kB / 0.6392 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.164, allocations: 89.02 kB / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.164, allocations: 4 kB / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.1641, allocations: 0 / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1641, allocations: 11.98 kB / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1642, allocations: 11.94 kB / 0.6393 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1643, allocations: 204.1 kB / 0.6395 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1643, allocations: 0 / 0.6395 GB, free: 12.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1646, allocations: 35.84 kB / 0.6395 GB, free: 12.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009007/0.1655, allocations: 420.2 kB / 0.6399 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1657, allocations: 71.91 kB / 0.64 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.1657, allocations: 8.062 kB / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.295e-05/0.1658, allocations: 35.97 kB / 0.64 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1661, allocations: 47.5 kB / 0.6401 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.1666, allocations: 287 kB / 0.6403 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1668, allocations: 0.7201 MB / 0.6411 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.724e-05/0.1669, allocations: 25.38 kB / 0.6411 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.1669, allocations: 23.42 kB / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1669, allocations: 0 / 0.6411 GB, free: 10.87 MB / 494.1 MB Notification: Performance of Templates: time 0.005203/0.1722, allocations: 2.532 MB / 0.6436 GB, free: 8.355 MB / 494.1 MB 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)