Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.633/2.633, allocations: 284.8 MB / 297.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 184.2 kB / 365.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.1 MB / 0.6241 GB, free: 8.16 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001067, allocations: 100.9 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.735e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8879, allocations: 115.3 MB / 0.97 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/1.138, allocations: 141.7 MB / 1.108 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/1.138, allocations: 77.17 kB / 1.108 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02567/1.164, allocations: 5.388 MB / 1.114 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/1.164, allocations: 3.938 kB / 1.114 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.641e-05/1.164, allocations: 4 kB / 1.114 GB, free: 5.266 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.0008472/1.165, allocations: 459.7 kB / 1.114 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.165, allocations: 8.719 kB / 1.114 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/1.165, allocations: 24.58 kB / 1.114 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/1.165, allocations: 251.7 kB / 1.114 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/1.165, allocations: 9.125 kB / 1.114 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/1.165, allocations: 7.984 kB / 1.114 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/1.166, allocations: 90.78 kB / 1.115 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.166, allocations: 0 / 1.115 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/1.166, allocations: 7.984 kB / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/1.166, allocations: 4 kB / 1.115 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/1.166, allocations: 27.98 kB / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/1.167, allocations: 383.1 kB / 1.115 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/1.167, allocations: 87.98 kB / 1.115 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.331e-05/1.167, allocations: 34.41 kB / 1.115 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/1.167, allocations: 4.031 kB / 1.115 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/1.167, allocations: 79.23 kB / 1.115 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 3.467e-06/1.167, allocations: 0.875 kB / 1.115 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004054/1.168, allocations: 105.5 kB / 1.115 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/1.168, allocations: 119.9 kB / 1.115 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/1.168, allocations: 235.7 kB / 1.116 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/1.168, allocations: 34.61 kB / 1.116 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/1.169, allocations: 116.1 kB / 1.116 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/1.169, allocations: 23.78 kB / 1.116 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/1.169, allocations: 5.312 kB / 1.116 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.169, allocations: 326.8 kB / 1.116 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/1.169, allocations: 27.94 kB / 1.116 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/1.169, allocations: 72.28 kB / 1.116 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/1.169, allocations: 27.98 kB / 1.116 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.169, allocations: 4 kB / 1.116 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003069/1.17, allocations: 109.4 kB / 1.116 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.17, allocations: 4.938 kB / 1.116 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.17, allocations: 6.984 kB / 1.116 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.17, allocations: 0 / 1.116 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/1.17, allocations: 16 kB / 1.116 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.17, allocations: 3.953 kB / 1.116 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/1.17, allocations: 7.984 kB / 1.116 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/1.17, allocations: 4 kB / 1.116 GB, free: 2.359 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.0001229/1.17, allocations: 117 kB / 1.116 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/1.17, allocations: 15.81 kB / 1.116 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/1.171, allocations: 133.8 kB / 1.117 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/1.171, allocations: 4 kB / 1.117 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.171, allocations: 3.938 kB / 1.117 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/1.171, allocations: 7.891 kB / 1.117 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/1.171, allocations: 229.5 kB / 1.117 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.171, allocations: 0 / 1.117 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/1.171, allocations: 8 kB / 1.117 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.171, allocations: 0 / 1.117 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/1.171, allocations: 11.98 kB / 1.117 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.171, allocations: 0 / 1.117 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.171, allocations: 0 / 1.117 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/1.172, allocations: 140.8 kB / 1.117 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/1.172, allocations: 108.8 kB / 1.117 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/1.172, allocations: 0 / 1.117 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/1.172, allocations: 11.98 kB / 1.117 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/1.172, allocations: 11.98 kB / 1.117 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/1.172, allocations: 7.984 kB / 1.117 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003169/1.172, allocations: 200.2 kB / 1.117 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.172, allocations: 0 / 1.117 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004054/1.173, allocations: 47.94 kB / 1.117 GB, free: 1.23 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.001275/1.174, allocations: 397 kB / 1.118 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003707/1.174, allocations: 87.88 kB / 1.118 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.174, allocations: 0 / 1.118 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/1.175, allocations: 39.94 kB / 1.118 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/1.175, allocations: 34.55 kB / 1.118 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/1.176, allocations: 222.2 kB / 1.118 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/1.176, allocations: 0.7348 MB / 1.119 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001641/1.176, allocations: 23.08 kB / 1.119 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/1.176, allocations: 19.44 kB / 1.119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of SimCode: time 1.303e-06/1.176, allocations: 0 / 1.119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.009368/1.186, allocations: 2.488 MB / 1.121 GB, free: 13.41 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)