Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.0009462/0.0009462, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.312/1.312, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0007615/0.0007614, allocations: 89.59 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.705e-05, allocations: 8 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6557/0.6558, allocations: 116.3 MB / 0.9732 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.8532, allocations: 142.2 MB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.8535, allocations: 75.95 kB / 1.112 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01444/0.8679, allocations: 5.355 MB / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/0.868, allocations: 0 / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.868, allocations: 0.7812 kB / 1.117 GB, free: 2.586 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.0005425/0.8686, allocations: 466.3 kB / 1.118 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.8686, allocations: 12.03 kB / 1.118 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.8687, allocations: 15.81 kB / 1.118 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.8691, allocations: 259.6 kB / 1.118 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.8691, allocations: 0 / 1.118 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.8691, allocations: 5.312 kB / 1.118 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001055/0.8692, allocations: 27.98 kB / 1.118 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.8694, allocations: 94.17 kB / 1.118 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8694, allocations: 0.9375 kB / 1.118 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.8694, allocations: 0 / 1.118 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.8695, allocations: 4 kB / 1.118 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.87, allocations: 355.1 kB / 1.119 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.8701, allocations: 79.91 kB / 1.119 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.8702, allocations: 29.84 kB / 1.119 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.8702, allocations: 80 / 1.119 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.8704, allocations: 87.25 kB / 1.119 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.345e-06/0.8704, allocations: 0.6562 kB / 1.119 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002759/0.8707, allocations: 109.5 kB / 1.119 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.8707, allocations: 104.2 kB / 1.119 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.871, allocations: 241 kB / 1.119 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.871, allocations: 25.7 kB / 1.119 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.8711, allocations: 120.8 kB / 1.119 GB, free: 404 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.8711, allocations: 23.7 kB / 1.119 GB, free: 380 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.8711, allocations: 0 / 1.119 GB, free: 380 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8712, allocations: 334.8 kB / 1.12 GB, free: 36 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.8713, allocations: 20 kB / 1.12 GB, free: 16 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/0.8714, allocations: 72.34 kB / 1.12 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.8715, allocations: 31.98 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8715, allocations: 4 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.8717, allocations: 109.3 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.8717, allocations: 4 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8717, allocations: 4 kB / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8717, allocations: 0 / 1.12 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.8718, allocations: 15.98 kB / 1.12 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8718, allocations: 0 / 1.12 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.8719, allocations: 4 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.8719, allocations: 0 / 1.12 GB, free: 15.75 MB / 0.7292 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 8.824e-05/0.872, allocations: 127.9 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.872, allocations: 15.75 kB / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.8723, allocations: 123.4 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.8723, allocations: 0 / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8723, allocations: 7.844 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8723, allocations: 3.984 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.8725, allocations: 208.7 kB / 1.12 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8725, allocations: 0 / 1.12 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.8726, allocations: 11.92 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8726, allocations: 8 kB / 1.12 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.8726, allocations: 0 / 1.12 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8726, allocations: 0 / 1.12 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8726, allocations: 0 / 1.12 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.8728, allocations: 140.9 kB / 1.121 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.8729, allocations: 104.9 kB / 1.121 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.873, allocations: 0 / 1.121 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.873, allocations: 4 kB / 1.121 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.8731, allocations: 19.92 kB / 1.121 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.8731, allocations: 0 / 1.121 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001594/0.8733, allocations: 187 kB / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8733, allocations: 0 / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002597/0.8735, allocations: 47.92 kB / 1.121 GB, free: 14.69 MB / 0.7292 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.000932/0.8745, allocations: 381.4 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.8747, allocations: 75.91 kB / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.8747, allocations: 0 / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.8748, allocations: 39.97 kB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.875, allocations: 23.98 kB / 1.121 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.8754, allocations: 230.5 kB / 1.122 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.8757, allocations: 0.728 MB / 1.122 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.15e-05/0.8758, allocations: 23.86 kB / 1.122 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.8759, allocations: 27.42 kB / 1.122 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.8759, allocations: 0 / 1.122 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.005356/0.8813, allocations: 2.337 MB / 1.125 GB, free: 10.98 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)