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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4593/0.4593, allocations: 87.49 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 107.6 kB / 420 MB, free: 8.52 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 55.86 kB / 0.4891 GB, free: 7.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3527, allocations: 70.06 MB / 0.5575 GB, free: 44.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00312/0.3559, allocations: 1.818 MB / 0.5593 GB, free: 43.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3574, allocations: 1.085 MB / 0.5603 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.3575, allocations: 1.625 kB / 0.5603 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.3578, allocations: 55.8 kB / 0.5604 GB, free: 42.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.3581, allocations: 63.81 kB / 0.5604 GB, free: 42.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.3587, allocations: 209.9 kB / 0.5606 GB, free: 42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3588, allocations: 135.6 kB / 0.5608 GB, free: 41.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.359, allocations: 21.11 kB / 0.5608 GB, free: 41.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.3591, allocations: 64.45 kB / 0.5609 GB, free: 41.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.3592, allocations: 63.53 kB / 0.5609 GB, free: 41.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3592, allocations: 0 / 0.5609 GB, free: 41.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3593, allocations: 59.91 kB / 0.561 GB, free: 41.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.3594, allocations: 35.84 kB / 0.561 GB, free: 41.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.3595, allocations: 55.66 kB / 0.5611 GB, free: 41.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3597, allocations: 197.5 kB / 0.5612 GB, free: 41.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3597, allocations: 0 / 0.5612 GB, free: 41.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3597, allocations: 0 / 0.5612 GB, free: 41.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3597, allocations: 0 / 0.5612 GB, free: 41.39 MB / 410.7 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.0006085/0.3604, allocations: 492.4 kB / 0.5617 GB, free: 40.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3604, allocations: 11.97 kB / 0.5617 GB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.3605, allocations: 16.75 kB / 0.5617 GB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.3607, allocations: 256.7 kB / 0.562 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3607, allocations: 384 / 0.562 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3608, allocations: 16.11 kB / 0.562 GB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3609, allocations: 92.17 kB / 0.5621 GB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.361, allocations: 4 kB / 0.5621 GB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.361, allocations: 0 / 0.5621 GB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.361, allocations: 4 kB / 0.5621 GB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.3611, allocations: 31.98 kB / 0.5621 GB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.3615, allocations: 356.7 kB / 0.5625 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.3617, allocations: 90.66 kB / 0.5626 GB, free: 39.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.3618, allocations: 32.84 kB / 0.5626 GB, free: 39.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3618, allocations: 3.938 kB / 0.5626 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.3621, allocations: 87.39 kB / 0.5627 GB, free: 39.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.3621, allocations: 0 / 0.5627 GB, free: 39.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003269/0.3624, allocations: 141.4 kB / 0.5628 GB, free: 39.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3625, allocations: 106.8 kB / 0.5629 GB, free: 39.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.3627, allocations: 262.9 kB / 0.5632 GB, free: 39.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.3627, allocations: 29.7 kB / 0.5632 GB, free: 39.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.3628, allocations: 120.1 kB / 0.5633 GB, free: 39.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.3628, allocations: 27.72 kB / 0.5633 GB, free: 39.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.3629, allocations: 21.72 kB / 0.5633 GB, free: 39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.3629, allocations: 334.8 kB / 0.5637 GB, free: 38.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.363, allocations: 27.98 kB / 0.5637 GB, free: 38.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.3631, allocations: 72.22 kB / 0.5638 GB, free: 38.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3632, allocations: 69.69 kB / 0.5638 GB, free: 38.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3632, allocations: 0 / 0.5638 GB, free: 38.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001718/0.3634, allocations: 113.4 kB / 0.5639 GB, free: 38.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3634, allocations: 4 kB / 0.5639 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3634, allocations: 4.031 kB / 0.5639 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3634, allocations: 0 / 0.5639 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.3635, allocations: 19.92 kB / 0.564 GB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3635, allocations: 0 / 0.564 GB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.3636, allocations: 11.84 kB / 0.564 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.3636, allocations: 4 kB / 0.564 GB, free: 38.31 MB / 410.7 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 9.525e-05/0.3637, allocations: 145.8 kB / 0.5641 GB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.3637, allocations: 15.81 kB / 0.5641 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.834e-05/0.3638, allocations: 21.39 kB / 0.5642 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3638, allocations: 4 kB / 0.5642 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3638, allocations: 0 / 0.5642 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3639, allocations: 7.938 kB / 0.5642 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.364, allocations: 225.5 kB / 0.5644 GB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.364, allocations: 0 / 0.5644 GB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.364, allocations: 7.984 kB / 0.5644 GB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.364, allocations: 0 / 0.5644 GB, free: 37.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3641, allocations: 4 kB / 0.5644 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3641, allocations: 0 / 0.5644 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3641, allocations: 0 / 0.5644 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.3645, allocations: 0.7526 MB / 0.5651 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.3645, allocations: 85.02 kB / 0.5652 GB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.3646, allocations: 7.875 kB / 0.5652 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.3646, allocations: 4 kB / 0.5652 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.3647, allocations: 11.98 kB / 0.5652 GB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3647, allocations: 4 kB / 0.5652 GB, free: 36.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.3648, allocations: 208.1 kB / 0.5654 GB, free: 36.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3648, allocations: 0 / 0.5654 GB, free: 36.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.3652, allocations: 35.91 kB / 0.5655 GB, free: 36.65 MB / 410.7 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.0009104/0.3661, allocations: 424.1 kB / 0.5659 GB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3663, allocations: 67.95 kB / 0.5659 GB, free: 36.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3663, allocations: 0 / 0.5659 GB, free: 36.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.3664, allocations: 51.91 kB / 0.566 GB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3667, allocations: 31.97 kB / 0.566 GB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.3672, allocations: 459.8 kB / 0.5665 GB, free: 35.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.3673, allocations: 0.7243 MB / 0.5672 GB, free: 35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.086e-05/0.3674, allocations: 25.06 kB / 0.5672 GB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.3674, allocations: 23.38 kB / 0.5672 GB, free: 34.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3675, allocations: 0 / 0.5672 GB, free: 34.96 MB / 410.7 MB Notification: Performance of Templates: time 0.004643/0.3721, allocations: 2.489 MB / 0.5696 GB, free: 32.5 MB / 410.7 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)