Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 285.6 MB / 293.1 MB, free: 10.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 180.8 kB / 361.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008308/0.000831, allocations: 98.11 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.962e-05, allocations: 8 kB / 0.8517 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7044, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2175/0.922, allocations: 141.3 MB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.9223, allocations: 82.58 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01573/0.9381, allocations: 5.35 MB / 1.108 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9381, allocations: 0 / 1.108 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.9381, allocations: 4.969 kB / 1.108 GB, free: 9.242 MB / 0.7136 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.0006233/0.9388, allocations: 470.2 kB / 1.108 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.9388, allocations: 8.031 kB / 1.108 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.9389, allocations: 17.34 kB / 1.108 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.9393, allocations: 252.3 kB / 1.108 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.9394, allocations: 4 kB / 1.108 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.9394, allocations: 4.547 kB / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.9395, allocations: 36.61 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.9397, allocations: 85.03 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9397, allocations: 0.7188 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.9397, allocations: 4.625 kB / 1.108 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.9397, allocations: 3.984 kB / 1.108 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.9402, allocations: 347 kB / 1.109 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.9404, allocations: 87.8 kB / 1.109 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.9405, allocations: 30.52 kB / 1.109 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.9405, allocations: 0 / 1.109 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.9407, allocations: 84.69 kB / 1.109 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.9407, allocations: 0 / 1.109 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003089/0.941, allocations: 111.9 kB / 1.109 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.9411, allocations: 103.5 kB / 1.109 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.9413, allocations: 230 kB / 1.109 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.9414, allocations: 36.03 kB / 1.109 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.9415, allocations: 116.1 kB / 1.11 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.9415, allocations: 19.72 kB / 1.11 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.9415, allocations: 0 / 1.11 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.9417, allocations: 338.8 kB / 1.11 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.9417, allocations: 23.98 kB / 1.11 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.9418, allocations: 65.08 kB / 1.11 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.442e-05/0.9419, allocations: 33.66 kB / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9419, allocations: 0 / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.9421, allocations: 113.4 kB / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.9421, allocations: 8.031 kB / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.9421, allocations: 0 / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9422, allocations: 0 / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.9423, allocations: 15.12 kB / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.9423, allocations: 0 / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.9424, allocations: 7.984 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.9424, allocations: 8 kB / 1.11 GB, free: 6.41 MB / 0.7136 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.9425, allocations: 112.9 kB / 1.11 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.9425, allocations: 23.75 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.9428, allocations: 126 kB / 1.11 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.9428, allocations: 7.938 kB / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9428, allocations: 0 / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.9428, allocations: 0 / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.943, allocations: 210 kB / 1.111 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.943, allocations: 4 kB / 1.111 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.9431, allocations: 7.469 kB / 1.111 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.9431, allocations: 0 / 1.111 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.9431, allocations: 11.98 kB / 1.111 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.9431, allocations: 4 kB / 1.111 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9431, allocations: 0 / 1.111 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.9433, allocations: 140.8 kB / 1.111 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.9434, allocations: 100.9 kB / 1.111 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.9434, allocations: 4 kB / 1.111 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.9435, allocations: 3.984 kB / 1.111 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.9436, allocations: 11.05 kB / 1.111 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.9436, allocations: 4 kB / 1.111 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001645/0.9438, allocations: 196.2 kB / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9438, allocations: 0 / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002837/0.9441, allocations: 47.94 kB / 1.111 GB, free: 5.34 MB / 0.7136 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008989/0.945, allocations: 369.9 kB / 1.111 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.9452, allocations: 83.89 kB / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9452, allocations: 0 / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.9453, allocations: 35.94 kB / 1.112 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.9455, allocations: 36.75 kB / 1.112 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.946, allocations: 216.2 kB / 1.112 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.9464, allocations: 0.7319 MB / 1.113 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.9466, allocations: 28.8 kB / 1.113 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.9466, allocations: 15.44 kB / 1.113 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9466, allocations: 0 / 1.113 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of Templates: time 0.005794/0.9524, allocations: 2.352 MB / 1.115 GB, free: 1.637 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)