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.607/1.607, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.0009449/0.0009448, allocations: 176.5 kB / 372.9 MB, free: 10.14 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.337/1.337, allocations: 205.4 MB / 0.6317 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000751/0.000751, allocations: 96.61 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 16.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2048, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6532/0.858, allocations: 142 MB / 1.119 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.8583, allocations: 78.5 kB / 1.12 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01272/0.871, allocations: 5.436 MB / 1.125 GB, free: 31.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8711, allocations: 0 / 1.125 GB, free: 31.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.8711, allocations: 7.562 kB / 1.125 GB, free: 31.91 MB / 0.698 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.0005285/0.8716, allocations: 493.2 kB / 1.125 GB, free: 31.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.8717, allocations: 7.719 kB / 1.125 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.8717, allocations: 16.41 kB / 1.125 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.872, allocations: 267 kB / 1.126 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.8721, allocations: 8.281 kB / 1.126 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.8721, allocations: 4.031 kB / 1.126 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.8723, allocations: 96.72 kB / 1.126 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8723, allocations: 4.125 kB / 1.126 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.8723, allocations: 3.938 kB / 1.126 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.8723, allocations: 3.844 kB / 1.126 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.8724, allocations: 39.16 kB / 1.126 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.8729, allocations: 378.6 kB / 1.126 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.8731, allocations: 94.98 kB / 1.126 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.141e-05/0.8732, allocations: 33.53 kB / 1.126 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.8732, allocations: 3.969 kB / 1.126 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.8733, allocations: 85.39 kB / 1.126 GB, free: 30.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.8734, allocations: 0 / 1.126 GB, free: 30.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0003174/0.8737, allocations: 140.8 kB / 1.126 GB, free: 30.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.8737, allocations: 106.7 kB / 1.127 GB, free: 30.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.874, allocations: 267.7 kB / 1.127 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.874, allocations: 29.48 kB / 1.127 GB, free: 30.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.8741, allocations: 121.6 kB / 1.127 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.8741, allocations: 14.62 kB / 1.127 GB, free: 30.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.8741, allocations: 3.875 kB / 1.127 GB, free: 30.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8742, allocations: 325.3 kB / 1.127 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.8743, allocations: 32.75 kB / 1.127 GB, free: 30.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.8744, allocations: 70.89 kB / 1.127 GB, free: 30.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.8745, allocations: 76.59 kB / 1.127 GB, free: 30 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8745, allocations: 0 / 1.127 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.8747, allocations: 118.2 kB / 1.128 GB, free: 29.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.8747, allocations: 6.172 kB / 1.128 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8748, allocations: 0 / 1.128 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.8748, allocations: 7.781 kB / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.8749, allocations: 9.875 kB / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8749, allocations: 3.875 kB / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.875, allocations: 15.69 kB / 1.128 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.875, allocations: 2.672 kB / 1.128 GB, free: 29.95 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.8751, allocations: 152.8 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.8751, allocations: 15.53 kB / 1.128 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.8754, allocations: 135.7 kB / 1.128 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.8754, allocations: 0 / 1.128 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8754, allocations: 0 / 1.128 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8754, allocations: 2.859 kB / 1.128 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.8756, allocations: 245.8 kB / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8756, allocations: 0 / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.8756, allocations: 6.234 kB / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8756, allocations: 0 / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.8757, allocations: 3.875 kB / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8757, allocations: 3.938 kB / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8757, allocations: 0 / 1.128 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.8759, allocations: 146.2 kB / 1.128 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.876, allocations: 107 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.876, allocations: 0 / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-05/0.8761, allocations: 10.61 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.8761, allocations: 6.547 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.8761, allocations: 3.75 kB / 1.128 GB, free: 29.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001614/0.8763, allocations: 201.1 kB / 1.129 GB, free: 29.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8763, allocations: 0 / 1.129 GB, free: 29.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002406/0.8766, allocations: 58.09 kB / 1.129 GB, free: 29.29 MB / 0.698 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) * Number of clocked states: 0 () * 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.000942/0.8775, allocations: 444.5 kB / 1.129 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.8777, allocations: 86.47 kB / 1.129 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8778, allocations: 0 / 1.129 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.8778, allocations: 41.72 kB / 1.129 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.8781, allocations: 37.77 kB / 1.129 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.8786, allocations: 329 kB / 1.13 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.8789, allocations: 0.7288 MB / 1.13 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.667e-05/0.879, allocations: 25.22 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.8791, allocations: 22.81 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of SimCode: time 8.91e-07/0.8791, allocations: 0 / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of Templates: time 0.004943/0.884, allocations: 2.529 MB / 1.133 GB, free: 27.53 MB / 0.698 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)