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.781/1.781, allocations: 289.7 MB / 302.2 MB, free: 2.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.001066/0.001065, allocations: 185.1 kB / 371.6 MB, free: 3.41 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.984/1.984, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009454/0.0009452, allocations: 94.56 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.607e-05/5.61e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3011, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.318, allocations: 142.9 MB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.319, allocations: 77.2 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.014/1.333, allocations: 5.379 MB / 1.125 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.255e-06/1.333, allocations: 0 / 1.125 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.689e-05/1.333, allocations: 4 kB / 1.125 GB, free: 38.68 MB / 0.7448 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.0005633/1.333, allocations: 472.1 kB / 1.125 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/1.333, allocations: 8.031 kB / 1.125 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/1.333, allocations: 18.22 kB / 1.125 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/1.334, allocations: 254.2 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.334, allocations: 7.266 kB / 1.125 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/1.334, allocations: 7.188 kB / 1.125 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/1.334, allocations: 97.41 kB / 1.125 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.334, allocations: 4 kB / 1.126 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/1.334, allocations: 0 / 1.126 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/1.334, allocations: 0 / 1.126 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/1.334, allocations: 33.42 kB / 1.126 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/1.335, allocations: 376.4 kB / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/1.335, allocations: 91 kB / 1.126 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/1.335, allocations: 26.61 kB / 1.126 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/1.335, allocations: 4 kB / 1.126 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/1.335, allocations: 83.3 kB / 1.126 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/1.335, allocations: 3.938 kB / 1.126 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002514/1.335, allocations: 116.5 kB / 1.126 GB, free: 37.22 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/1.336, allocations: 102.8 kB / 1.126 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/1.336, allocations: 242 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.336, allocations: 34.08 kB / 1.127 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/1.336, allocations: 117.9 kB / 1.127 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/1.336, allocations: 19.03 kB / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/1.336, allocations: 0 / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.336, allocations: 332.1 kB / 1.127 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/1.336, allocations: 22.12 kB / 1.127 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/1.336, allocations: 74.53 kB / 1.127 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.066e-05/1.336, allocations: 29.95 kB / 1.127 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.336, allocations: 4 kB / 1.127 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001755/1.336, allocations: 114.5 kB / 1.127 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.336, allocations: 8 kB / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.337, allocations: 0 / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.337, allocations: 0 / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.337, allocations: 19.31 kB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.337, allocations: 0.875 kB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/1.337, allocations: 7.953 kB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/1.337, allocations: 7.562 kB / 1.127 GB, free: 36.22 MB / 0.7448 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.723e-05/1.337, allocations: 110 kB / 1.127 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/1.337, allocations: 22 kB / 1.127 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/1.337, allocations: 133.3 kB / 1.128 GB, free: 36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.337, allocations: 0 / 1.128 GB, free: 36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.337, allocations: 0 / 1.128 GB, free: 36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.337, allocations: 4 kB / 1.128 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/1.337, allocations: 234.1 kB / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.337, allocations: 0.6562 kB / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/1.337, allocations: 8 kB / 1.128 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.337, allocations: 0 / 1.128 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/1.337, allocations: 8.469 kB / 1.128 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.337, allocations: 8 kB / 1.128 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/1.337, allocations: 0 / 1.128 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/1.338, allocations: 149.5 kB / 1.128 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/1.338, allocations: 100.2 kB / 1.128 GB, free: 35.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/1.338, allocations: 4 kB / 1.128 GB, free: 35.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/1.338, allocations: 4 kB / 1.128 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/1.338, allocations: 11.31 kB / 1.128 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/1.338, allocations: 7.562 kB / 1.128 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001662/1.338, allocations: 192.1 kB / 1.128 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/1.338, allocations: 0 / 1.128 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002841/1.338, allocations: 50.11 kB / 1.128 GB, free: 35.31 MB / 0.7448 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.001164/1.34, allocations: 404.2 kB / 1.129 GB, free: 35.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000217/1.34, allocations: 79.84 kB / 1.129 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.34, allocations: 0 / 1.129 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/1.34, allocations: 38.7 kB / 1.129 GB, free: 34.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/1.34, allocations: 35.22 kB / 1.129 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/1.341, allocations: 224.1 kB / 1.129 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/1.341, allocations: 0.7273 MB / 1.13 GB, free: 34.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.829e-05/1.341, allocations: 30.3 kB / 1.13 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/1.341, allocations: 26.66 kB / 1.13 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/1.341, allocations: 3.938 kB / 1.13 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.005444/1.346, allocations: 2.489 MB / 1.132 GB, free: 32.61 MB / 0.7448 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)