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.001506/0.001506, allocations: 106.2 kB / 16.52 MB, free: 6.656 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.00171/0.00171, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7272/0.7272, allocations: 115.3 MB / 406.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.89 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3701, allocations: 76.16 MB / 0.5564 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00307/0.3732, allocations: 1.817 MB / 0.5581 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3748, allocations: 1.094 MB / 0.5592 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.79e-05/0.3749, allocations: 5.156 kB / 0.5592 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.3752, allocations: 54.48 kB / 0.5593 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.3754, allocations: 68.05 kB / 0.5593 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.376, allocations: 201.6 kB / 0.5595 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3762, allocations: 135.2 kB / 0.5597 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3763, allocations: 20.38 kB / 0.5597 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.3764, allocations: 57.89 kB / 0.5597 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3765, allocations: 64.2 kB / 0.5598 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3765, allocations: 3.094 kB / 0.5598 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.3767, allocations: 61.38 kB / 0.5599 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.478e-05/0.3768, allocations: 38.97 kB / 0.5599 GB, free: 34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.3768, allocations: 57.41 kB / 0.5599 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.3771, allocations: 156.5 kB / 0.5601 GB, free: 33.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3771, allocations: 3.938 kB / 0.5601 GB, free: 33.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3771, allocations: 0 / 0.5601 GB, free: 33.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3771, allocations: 0 / 0.5601 GB, free: 33.9 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.0006234/0.3778, allocations: 486.7 kB / 0.5606 GB, free: 33.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3778, allocations: 12.12 kB / 0.5606 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.141e-05/0.3779, allocations: 21.72 kB / 0.5606 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3782, allocations: 247 kB / 0.5608 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3782, allocations: 6.25 kB / 0.5608 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3782, allocations: 7.812 kB / 0.5608 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.3784, allocations: 93.92 kB / 0.5609 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3784, allocations: 1.844 kB / 0.5609 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3785, allocations: 4.875 kB / 0.5609 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.3785, allocations: 2.656 kB / 0.5609 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3786, allocations: 36.25 kB / 0.561 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.3791, allocations: 359.2 kB / 0.5613 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.3793, allocations: 89.2 kB / 0.5614 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.3794, allocations: 35.95 kB / 0.5614 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3795, allocations: 2.172 kB / 0.5614 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.3797, allocations: 80.39 kB / 0.5615 GB, free: 32.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.3797, allocations: 0.5938 kB / 0.5615 GB, free: 32.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003806/0.3801, allocations: 135 kB / 0.5616 GB, free: 32.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3802, allocations: 109 kB / 0.5618 GB, free: 32.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.3804, allocations: 266 kB / 0.562 GB, free: 32.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3805, allocations: 30.83 kB / 0.562 GB, free: 32.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.3805, allocations: 121.6 kB / 0.5622 GB, free: 32.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3806, allocations: 26.27 kB / 0.5622 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.3806, allocations: 24.56 kB / 0.5622 GB, free: 32.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.3807, allocations: 337.2 kB / 0.5625 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.3808, allocations: 25.12 kB / 0.5625 GB, free: 31.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.3809, allocations: 71.81 kB / 0.5626 GB, free: 31.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3811, allocations: 72.08 kB / 0.5627 GB, free: 31.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3811, allocations: 1.031 kB / 0.5627 GB, free: 31.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002289/0.3813, allocations: 113.8 kB / 0.5628 GB, free: 31.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3814, allocations: 5.812 kB / 0.5628 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3814, allocations: 0.5156 kB / 0.5628 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3814, allocations: 2.344 kB / 0.5628 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3815, allocations: 16.67 kB / 0.5628 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3815, allocations: 1.562 kB / 0.5628 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.3816, allocations: 12.92 kB / 0.5628 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3816, allocations: 4.891 kB / 0.5628 GB, free: 31.64 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.0001094/0.3817, allocations: 142.9 kB / 0.563 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.3817, allocations: 15.38 kB / 0.563 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.3818, allocations: 20.33 kB / 0.563 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.3818, allocations: 2.031 kB / 0.563 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3818, allocations: 2.109 kB / 0.563 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3818, allocations: 3.938 kB / 0.563 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.382, allocations: 224 kB / 0.5632 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.382, allocations: 0.5625 kB / 0.5632 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.3821, allocations: 6.719 kB / 0.5632 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3821, allocations: 0.5312 kB / 0.5632 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3821, allocations: 3.703 kB / 0.5632 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3821, allocations: 1.031 kB / 0.5632 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3821, allocations: 0 / 0.5632 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.3824, allocations: 156.5 kB / 0.5634 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.3824, allocations: 95.69 kB / 0.5635 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3825, allocations: 3.312 kB / 0.5635 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.3825, allocations: 4.562 kB / 0.5635 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.3826, allocations: 14.52 kB / 0.5635 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3826, allocations: 8.922 kB / 0.5635 GB, free: 31.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.3828, allocations: 199.2 kB / 0.5637 GB, free: 30.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3828, allocations: 0 / 0.5637 GB, free: 30.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3831, allocations: 34.42 kB / 0.5637 GB, free: 30.94 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.001002/0.3841, allocations: 419.7 kB / 0.5641 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.3843, allocations: 74.23 kB / 0.5642 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3843, allocations: 0 / 0.5642 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.3844, allocations: 34.3 kB / 0.5642 GB, free: 30.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.3847, allocations: 38.3 kB / 0.5643 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.3853, allocations: 357.4 kB / 0.5646 GB, free: 30.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.3855, allocations: 0.7236 MB / 0.5653 GB, free: 29.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.3855, allocations: 23.98 kB / 0.5653 GB, free: 29.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3855, allocations: 0 / 0.5653 GB, free: 29.8 MB / 446.1 MB Notification: Performance of Templates: time 0.005453/0.391, allocations: 2.588 MB / 0.5679 GB, free: 29.55 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)