Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001253/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001341/0.001341, allocations: 196.9 kB / 16.14 MB, free: 6.688 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.58 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3548, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00334/0.3582, allocations: 1.829 MB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.36, allocations: 1.099 MB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.3601, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.3605, allocations: 55.8 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.3607, allocations: 71.75 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.3613, allocations: 198.8 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.3616, allocations: 135.7 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3617, allocations: 21.05 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3618, allocations: 59.72 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.362, allocations: 59.75 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.362, allocations: 4 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.3622, allocations: 63.89 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.3623, allocations: 31.91 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.3624, allocations: 55.59 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.3627, allocations: 195.7 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3627, allocations: 0 / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3627, allocations: 0 / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3627, allocations: 3.938 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB 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.0009978/0.3637, allocations: 498 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3638, allocations: 8.031 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.3639, allocations: 16.75 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.3643, allocations: 241 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3643, allocations: 8.359 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3643, allocations: 8.125 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.3645, allocations: 100.2 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3646, allocations: 3.938 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3646, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.3646, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.3647, allocations: 27.98 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.3655, allocations: 360.5 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.3658, allocations: 90.66 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.3659, allocations: 28.84 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.3659, allocations: 4 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.3663, allocations: 87.39 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/0.3663, allocations: 3.938 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0006338/0.3669, allocations: 137.5 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.367, allocations: 114.8 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/0.3674, allocations: 258.8 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.3675, allocations: 29.7 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3676, allocations: 112.1 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.3677, allocations: 23.7 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.3678, allocations: 29.66 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002888/0.3681, allocations: 334.8 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.3682, allocations: 27.98 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3684, allocations: 72.27 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.3686, allocations: 69.69 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3686, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002577/0.3689, allocations: 113.5 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3689, allocations: 8 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3689, allocations: 0 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.3689, allocations: 4.031 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3691, allocations: 15.98 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3691, allocations: 3.938 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.304e-05/0.3692, allocations: 11.88 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3692, allocations: 4 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB 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.0001919/0.3694, allocations: 149.8 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.3695, allocations: 19.81 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.333e-05/0.3695, allocations: 25.33 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3695, allocations: 0 / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3696, allocations: 0 / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3696, allocations: 3.938 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.3698, allocations: 229.5 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3698, allocations: 0 / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.3699, allocations: 7.984 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3699, allocations: 0 / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3699, allocations: 0 / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3699, allocations: 4 kB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3699, allocations: 4 kB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.3702, allocations: 144.8 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.3703, allocations: 89.02 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.3704, allocations: 192 / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.324e-05/0.3704, allocations: 7.984 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.3705, allocations: 11.94 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3705, allocations: 7.922 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002193/0.3708, allocations: 195.2 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3708, allocations: 0 / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003277/0.3711, allocations: 43.89 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB 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.001343/0.3725, allocations: 422.1 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.3728, allocations: 79.88 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3728, allocations: 0 / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.373, allocations: 40.05 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.3734, allocations: 35.91 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.3741, allocations: 320.9 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.3746, allocations: 0.7204 MB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.3747, allocations: 25.06 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.3747, allocations: 19.44 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of SimCode: time 5.62e-07/0.3748, allocations: 0 / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of Templates: time 0.007172/0.3819, allocations: 2.443 MB / 1.079 GB, free: 14.93 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)