Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.479/2.479, allocations: 287.5 MB / 303.2 MB, free: 8.164 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.001257/0.001256, allocations: 189.7 kB / 371.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.6305 GB, free: 10.45 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.0008827/0.0008826, allocations: 87.53 kB / 0.7438 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006845/0.0006844, allocations: 11.7 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2052, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8979/1.103, allocations: 141.9 MB / 1.118 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.103, allocations: 83.27 kB / 1.118 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02275/1.126, allocations: 5.442 MB / 1.123 GB, free: 31.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/1.126, allocations: 0 / 1.123 GB, free: 31.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.944e-05/1.126, allocations: 0 / 1.123 GB, free: 31.21 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.0008484/1.127, allocations: 497.8 kB / 1.124 GB, free: 30.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.127, allocations: 11.53 kB / 1.124 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/1.127, allocations: 16.59 kB / 1.124 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/1.128, allocations: 271.6 kB / 1.124 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/1.128, allocations: 8.031 kB / 1.124 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/1.128, allocations: 384 / 1.124 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/1.128, allocations: 102.1 kB / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.128, allocations: 192 / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/1.128, allocations: 3.938 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/1.128, allocations: 3.781 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/1.128, allocations: 37.2 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/1.129, allocations: 370.9 kB / 1.124 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/1.129, allocations: 95.97 kB / 1.125 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/1.13, allocations: 33.53 kB / 1.125 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/1.13, allocations: 4 kB / 1.125 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/1.13, allocations: 86.97 kB / 1.125 GB, free: 30.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.745e-06/1.13, allocations: 0 / 1.125 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0005269/1.13, allocations: 134.8 kB / 1.125 GB, free: 30.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/1.13, allocations: 109.6 kB / 1.125 GB, free: 29.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/1.131, allocations: 265.3 kB / 1.125 GB, free: 29.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/1.131, allocations: 33.23 kB / 1.125 GB, free: 29.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.97e-05/1.131, allocations: 121.8 kB / 1.125 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/1.131, allocations: 18.83 kB / 1.125 GB, free: 29.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/1.131, allocations: 0 / 1.125 GB, free: 29.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.131, allocations: 333.1 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.131, allocations: 29.33 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/1.132, allocations: 72.98 kB / 1.126 GB, free: 29.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/1.132, allocations: 78 kB / 1.126 GB, free: 29.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.132, allocations: 0 / 1.126 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003614/1.132, allocations: 122.5 kB / 1.126 GB, free: 29.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.132, allocations: 3.812 kB / 1.126 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.132, allocations: 0 / 1.126 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.132, allocations: 0 / 1.126 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/1.132, allocations: 14.44 kB / 1.126 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.132, allocations: 3.938 kB / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.133, allocations: 19.12 kB / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/1.133, allocations: 0 / 1.126 GB, free: 29.25 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.0001915/1.133, allocations: 154.2 kB / 1.126 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/1.133, allocations: 19.62 kB / 1.126 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/1.133, allocations: 122 kB / 1.126 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.133, allocations: 6.688 kB / 1.126 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.133, allocations: 0 / 1.126 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.133, allocations: 4.047 kB / 1.126 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/1.134, allocations: 235.1 kB / 1.127 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.134, allocations: 3.844 kB / 1.127 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/1.134, allocations: 10.7 kB / 1.127 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/1.134, allocations: 0 / 1.127 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.134, allocations: 11.28 kB / 1.127 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.134, allocations: 0 / 1.127 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.134, allocations: 0 / 1.127 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/1.134, allocations: 153.2 kB / 1.127 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.944e-05/1.134, allocations: 106.6 kB / 1.127 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/1.134, allocations: 2.625 kB / 1.127 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/1.134, allocations: 3.719 kB / 1.127 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/1.134, allocations: 13.11 kB / 1.127 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/1.134, allocations: 3.875 kB / 1.127 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000262/1.135, allocations: 194.8 kB / 1.127 GB, free: 28.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.135, allocations: 0 / 1.127 GB, free: 28.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003924/1.135, allocations: 56.44 kB / 1.127 GB, free: 28.59 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.001253/1.136, allocations: 437.1 kB / 1.127 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003932/1.137, allocations: 87.3 kB / 1.128 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.137, allocations: 0 / 1.128 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/1.137, allocations: 42.19 kB / 1.128 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/1.137, allocations: 35.5 kB / 1.128 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/1.138, allocations: 329.8 kB / 1.128 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/1.139, allocations: 0.7321 MB / 1.129 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001366/1.139, allocations: 26.58 kB / 1.129 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.072e-05/1.139, allocations: 21.84 kB / 1.129 GB, free: 27.48 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/1.139, allocations: 0 / 1.129 GB, free: 27.48 MB / 0.698 GB Notification: Performance of Templates: time 0.007947/1.147, allocations: 2.492 MB / 1.131 GB, free: 27.25 MB / 0.698 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)