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.001093/0.001093, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 197 kB / 16.54 MB, free: 6.672 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7451 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 65.09 kB / 0.912 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3634, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004193/0.3677, allocations: 1.78 MB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.3698, allocations: 1.103 MB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.3699, allocations: 4 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.3703, allocations: 59.67 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.3707, allocations: 87.59 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006972/0.3714, allocations: 215 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.3716, allocations: 147.6 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3717, allocations: 29.08 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3718, allocations: 63.78 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.372, allocations: 63.75 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.372, allocations: 4 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.3721, allocations: 67.89 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.3722, allocations: 39.84 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.477e-05/0.3723, allocations: 63.59 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.3727, allocations: 183.8 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.3727, allocations: 8 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3727, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3727, allocations: 4 kB / 1.072 GB, free: 6.477 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.0006926/0.3734, allocations: 0.4884 MB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3734, allocations: 12.03 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.3735, allocations: 16.75 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.3738, allocations: 237 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3738, allocations: 8.375 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.3739, allocations: 12.11 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3741, allocations: 100.2 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3741, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3741, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.3742, allocations: 4 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.3743, allocations: 31.98 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.3748, allocations: 360.5 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3751, allocations: 86.66 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.3752, allocations: 32.84 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3752, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.3755, allocations: 87.41 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.3755, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003743/0.3759, allocations: 137.5 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.3759, allocations: 102.8 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.3762, allocations: 270.8 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3762, allocations: 29.7 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.3763, allocations: 120 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3764, allocations: 19.72 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.3764, allocations: 25.7 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3766, allocations: 338.8 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.3767, allocations: 27.92 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3768, allocations: 68.27 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.377, allocations: 69.69 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.377, allocations: 4 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002172/0.3772, allocations: 117.7 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3772, allocations: 7.984 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3772, allocations: 4.078 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3773, allocations: 0 / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.3774, allocations: 8 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3774, allocations: 7.984 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.3775, allocations: 11.86 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.3775, allocations: 7.938 kB / 1.075 GB, free: 3.395 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.0001446/0.3776, allocations: 151 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3777, allocations: 15.81 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.3777, allocations: 17.39 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3777, allocations: 4 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3778, allocations: 0 / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3778, allocations: 3.938 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.378, allocations: 225.5 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.378, allocations: 0 / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.378, allocations: 8 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.378, allocations: 48 / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3781, allocations: 7.969 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3781, allocations: 4 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3781, allocations: 0 / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.3783, allocations: 148.8 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.3784, allocations: 89.02 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3784, allocations: 0 / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.3785, allocations: 0 / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.3785, allocations: 11.98 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3786, allocations: 11.94 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001707/0.3787, allocations: 200.5 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3788, allocations: 192 / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000256/0.379, allocations: 35.91 kB / 1.076 GB, free: 2.387 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.001068/0.3801, allocations: 431.1 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.3804, allocations: 71.91 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3804, allocations: 4.062 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.3805, allocations: 43.95 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3808, allocations: 30.42 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.3814, allocations: 306.7 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3817, allocations: 0.7162 MB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.944e-05/0.3818, allocations: 29.38 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.3818, allocations: 19.42 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3818, allocations: 0 / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of Templates: time 0.006078/0.3879, allocations: 2.534 MB / 1.08 GB, free: 14.36 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)