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.001209/0.001209, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001334/0.001334, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7389/0.7389, allocations: 115.1 MB / 406.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3456, allocations: 76.14 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003035/0.3487, allocations: 1.766 MB / 0.5593 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3503, allocations: 1.101 MB / 0.5604 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.3504, allocations: 1.875 kB / 0.5604 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.3507, allocations: 53.42 kB / 0.5604 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.351, allocations: 84.11 kB / 0.5605 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.3516, allocations: 221.6 kB / 0.5607 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.3518, allocations: 150 kB / 0.5608 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.352, allocations: 20.25 kB / 0.5609 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3521, allocations: 63.03 kB / 0.5609 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3522, allocations: 68.56 kB / 0.561 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3522, allocations: 6.906 kB / 0.561 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.3524, allocations: 71.41 kB / 0.5611 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.652e-05/0.3525, allocations: 39.45 kB / 0.5611 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.3526, allocations: 62.98 kB / 0.5612 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.3529, allocations: 204.2 kB / 0.5614 GB, free: 34.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3529, allocations: 0 / 0.5614 GB, free: 34.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3529, allocations: 1.594 kB / 0.5614 GB, free: 34.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.3529, allocations: 1.5 kB / 0.5614 GB, free: 34.25 MB / 446.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.0006209/0.3535, allocations: 483.2 kB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3536, allocations: 10.69 kB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.3536, allocations: 15.75 kB / 0.5618 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.354, allocations: 255 kB / 0.5621 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.354, allocations: 3.25 kB / 0.5621 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.354, allocations: 9 kB / 0.5621 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.3542, allocations: 99.81 kB / 0.5622 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3543, allocations: 3.938 kB / 0.5622 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3543, allocations: 1.938 kB / 0.5622 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3543, allocations: 2.469 kB / 0.5622 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3544, allocations: 30.41 kB / 0.5622 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.3549, allocations: 352.8 kB / 0.5626 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.3551, allocations: 91.14 kB / 0.5627 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.3552, allocations: 32.08 kB / 0.5627 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.3552, allocations: 9.891 kB / 0.5627 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.3554, allocations: 87.52 kB / 0.5628 GB, free: 33.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.3554, allocations: 0 / 0.5628 GB, free: 33.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003377/0.3557, allocations: 141.7 kB / 0.5629 GB, free: 32.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3558, allocations: 104.8 kB / 0.563 GB, free: 32.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.356, allocations: 265.8 kB / 0.5633 GB, free: 32.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.356, allocations: 27.36 kB / 0.5633 GB, free: 32.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.3561, allocations: 117.7 kB / 0.5634 GB, free: 32.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.3561, allocations: 25.02 kB / 0.5634 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3562, allocations: 29.73 kB / 0.5635 GB, free: 32.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.131e-05/0.3563, allocations: 329.5 kB / 0.5638 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.3563, allocations: 26.53 kB / 0.5638 GB, free: 32.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.3564, allocations: 74.48 kB / 0.5639 GB, free: 32.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.3566, allocations: 70.14 kB / 0.5639 GB, free: 32.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3566, allocations: 0.5938 kB / 0.5639 GB, free: 32.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.3568, allocations: 114.5 kB / 0.564 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3568, allocations: 5.562 kB / 0.564 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3568, allocations: 2.766 kB / 0.5641 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3568, allocations: 1.406 kB / 0.5641 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.357, allocations: 12.8 kB / 0.5641 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.357, allocations: 1.188 kB / 0.5641 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.357, allocations: 12.44 kB / 0.5641 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3571, allocations: 4.312 kB / 0.5641 GB, free: 31.99 MB / 446.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.0001006/0.3572, allocations: 138.5 kB / 0.5642 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.3572, allocations: 18.97 kB / 0.5642 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.3573, allocations: 24.62 kB / 0.5643 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.3573, allocations: 2.812 kB / 0.5643 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3573, allocations: 2.031 kB / 0.5643 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3573, allocations: 4.938 kB / 0.5643 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.3575, allocations: 223.1 kB / 0.5645 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3575, allocations: 3.938 kB / 0.5645 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.3575, allocations: 6.594 kB / 0.5645 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3575, allocations: 2.094 kB / 0.5645 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3576, allocations: 7.406 kB / 0.5645 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3576, allocations: 0 / 0.5645 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3576, allocations: 0.5625 kB / 0.5645 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.3578, allocations: 144.3 kB / 0.5646 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.3579, allocations: 93.44 kB / 0.5647 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.3579, allocations: 10.92 kB / 0.5647 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.835e-05/0.358, allocations: 7.469 kB / 0.5647 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.358, allocations: 9.938 kB / 0.5648 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.358, allocations: 8.297 kB / 0.5648 GB, free: 31.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3582, allocations: 197.5 kB / 0.5649 GB, free: 31.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3582, allocations: 0 / 0.5649 GB, free: 31.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3585, allocations: 36.23 kB / 0.565 GB, free: 31.29 MB / 446.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.0009252/0.3594, allocations: 426.5 kB / 0.5654 GB, free: 31.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.3596, allocations: 68.11 kB / 0.5655 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3597, allocations: 1.625 kB / 0.5655 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.3598, allocations: 39.02 kB / 0.5655 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.36, allocations: 46.41 kB / 0.5655 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.3605, allocations: 297.9 kB / 0.5658 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.3607, allocations: 0.7214 MB / 0.5665 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.588e-05/0.3608, allocations: 23.86 kB / 0.5665 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.3608, allocations: 21.52 kB / 0.5666 GB, free: 30.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3608, allocations: 0 / 0.5666 GB, free: 30.2 MB / 446.1 MB Notification: Performance of Templates: time 0.006042/0.3669, allocations: 2.541 MB / 0.5691 GB, free: 30 MB / 446.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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)