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.001163/0.001163, allocations: 115.4 kB / 17.08 MB, free: 6.012 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.001115/0.001115, allocations: 196.1 kB / 18.02 MB, free: 5.094 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7394/0.7394, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 66.73 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.155, allocations: 76.18 MB / 0.6327 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.0031/0.1581, allocations: 1.763 MB / 0.6345 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1599, allocations: 1.104 MB / 0.6355 GB, free: 1.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.16, allocations: 0 / 0.6355 GB, free: 1.496 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.1604, allocations: 63.67 kB / 0.6356 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1607, allocations: 83.67 kB / 0.6357 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.1613, allocations: 221.3 kB / 0.6359 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1615, allocations: 151.6 kB / 0.636 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1616, allocations: 21.11 kB / 0.6361 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1618, allocations: 67.7 kB / 0.6361 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1619, allocations: 63.75 kB / 0.6362 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1619, allocations: 4 kB / 0.6362 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1621, allocations: 75.89 kB / 0.6363 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.1622, allocations: 39.89 kB / 0.6363 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.1622, allocations: 55.61 kB / 0.6363 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.1625, allocations: 203.3 kB / 0.6365 GB, free: 484 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1626, allocations: 4 kB / 0.6365 GB, free: 480 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1626, allocations: 0 / 0.6365 GB, free: 480 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1626, allocations: 0 / 0.6365 GB, free: 480 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.0006499/0.1632, allocations: 496.3 kB / 0.637 GB, free: 15.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1633, allocations: 15.97 kB / 0.637 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.1633, allocations: 24.69 kB / 0.6371 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.1637, allocations: 241 kB / 0.6373 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1637, allocations: 4.375 kB / 0.6373 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1637, allocations: 8.125 kB / 0.6373 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1639, allocations: 104.2 kB / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.164, allocations: 0 / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.164, allocations: 3.984 kB / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.164, allocations: 0 / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1641, allocations: 35.92 kB / 0.6374 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.1646, allocations: 360.6 kB / 0.6378 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1649, allocations: 86.75 kB / 0.6379 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.1649, allocations: 40.78 kB / 0.6379 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.165, allocations: 0 / 0.6379 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.1651, allocations: 79.38 kB / 0.638 GB, free: 14.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.1651, allocations: 0 / 0.638 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003371/0.1655, allocations: 133.5 kB / 0.6381 GB, free: 14.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.1656, allocations: 118.7 kB / 0.6382 GB, free: 14.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.1658, allocations: 259 kB / 0.6385 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1659, allocations: 25.7 kB / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.227e-05/0.1659, allocations: 124 kB / 0.6386 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.166, allocations: 11.81 kB / 0.6386 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.166, allocations: 29.7 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1661, allocations: 330.8 kB / 0.639 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.1662, allocations: 27.98 kB / 0.639 GB, free: 13.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1663, allocations: 68.27 kB / 0.6391 GB, free: 13.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1665, allocations: 69.64 kB / 0.6391 GB, free: 13.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1665, allocations: 0 / 0.6391 GB, free: 13.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002197/0.1667, allocations: 117.5 kB / 0.6392 GB, free: 13.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1667, allocations: 8.219 kB / 0.6392 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1668, allocations: 7.938 kB / 0.6392 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1668, allocations: 3.938 kB / 0.6393 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.1669, allocations: 11.94 kB / 0.6393 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1669, allocations: 7.984 kB / 0.6393 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.167, allocations: 15.88 kB / 0.6393 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.167, allocations: 0 / 0.6393 GB, free: 13.38 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.0001213/0.1671, allocations: 137.8 kB / 0.6394 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.1671, allocations: 19.81 kB / 0.6394 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.1672, allocations: 21.39 kB / 0.6395 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1672, allocations: 4 kB / 0.6395 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1672, allocations: 0 / 0.6395 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1672, allocations: 3.938 kB / 0.6395 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.1674, allocations: 217.5 kB / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1674, allocations: 8 kB / 0.6397 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.1675, allocations: 4 kB / 0.6397 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1675, allocations: 3.984 kB / 0.6397 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1675, allocations: 4 kB / 0.6397 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1675, allocations: 0 / 0.6397 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1675, allocations: 4 kB / 0.6397 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1678, allocations: 149.2 kB / 0.6398 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.1678, allocations: 89.02 kB / 0.6399 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1679, allocations: 4 kB / 0.6399 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.1679, allocations: 4 kB / 0.6399 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.168, allocations: 7.984 kB / 0.6399 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.168, allocations: 3.938 kB / 0.6399 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.1682, allocations: 208.1 kB / 0.6401 GB, free: 12.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1682, allocations: 0 / 0.6401 GB, free: 12.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1684, allocations: 35.84 kB / 0.6402 GB, free: 12.37 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.001013/0.1695, allocations: 431.8 kB / 0.6406 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1697, allocations: 67.91 kB / 0.6406 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1697, allocations: 0 / 0.6406 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/0.1698, allocations: 36.03 kB / 0.6407 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1701, allocations: 44.89 kB / 0.6407 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.1707, allocations: 324.6 kB / 0.641 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.171, allocations: 0.7201 MB / 0.6417 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.1711, allocations: 19.44 kB / 0.6418 GB, free: 10.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1711, allocations: 0 / 0.6418 GB, free: 10.84 MB / 494.1 MB Notification: Performance of Templates: time 0.004652/0.1757, allocations: 2.608 MB / 0.6443 GB, free: 8.246 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)