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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 293 MB / 309 MB, free: 4.836 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.001211/0.001211, allocations: 170.7 kB / 378.7 MB, free: 1.035 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.387/1.387, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0007201/0.0007202, allocations: 81.5 kB / 0.7527 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003638, allocations: 19.98 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2124, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5543/0.7668, allocations: 143.1 MB / 1.13 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.7671, allocations: 82.67 kB / 1.13 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01372/0.7808, allocations: 5.434 MB / 1.136 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7808, allocations: 0 / 1.136 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.7809, allocations: 4 kB / 1.136 GB, free: 27.64 MB / 0.7292 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.0006356/0.7815, allocations: 0.4904 MB / 1.136 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.7816, allocations: 8.688 kB / 1.136 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.7816, allocations: 17.56 kB / 1.136 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.782, allocations: 269.1 kB / 1.136 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.782, allocations: 4.984 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.7821, allocations: 4.375 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.7823, allocations: 94.56 kB / 1.136 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7823, allocations: 4.188 kB / 1.136 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.7823, allocations: 9.484 kB / 1.136 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.7823, allocations: 1.406 kB / 1.136 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.7825, allocations: 42.45 kB / 1.136 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.783, allocations: 368.9 kB / 1.137 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.7832, allocations: 98.41 kB / 1.137 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.7833, allocations: 29.03 kB / 1.137 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.7833, allocations: 7.984 kB / 1.137 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.7835, allocations: 85.23 kB / 1.137 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.7835, allocations: 0 / 1.137 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0003612/0.7839, allocations: 141.4 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.7839, allocations: 107.3 kB / 1.137 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.7842, allocations: 266.5 kB / 1.138 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.7842, allocations: 25.7 kB / 1.138 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.7843, allocations: 116.9 kB / 1.138 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.7843, allocations: 21.91 kB / 1.138 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.7843, allocations: 0 / 1.138 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.7844, allocations: 332.3 kB / 1.138 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.7845, allocations: 27.61 kB / 1.138 GB, free: 25.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.7846, allocations: 81.42 kB / 1.138 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.7847, allocations: 73.28 kB / 1.138 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.7847, allocations: 0 / 1.138 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002047/0.785, allocations: 115.2 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.785, allocations: 4.938 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.785, allocations: 10.27 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.785, allocations: 4.844 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.7851, allocations: 10.25 kB / 1.138 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.7851, allocations: 5.328 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.7852, allocations: 8.469 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.7852, allocations: 1.062 kB / 1.138 GB, free: 24.77 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 () * 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.0001057/0.7853, allocations: 151.1 kB / 1.138 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.7854, allocations: 16.38 kB / 1.138 GB, free: 24.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.7856, allocations: 139.2 kB / 1.139 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.7856, allocations: 0.7031 kB / 1.139 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7857, allocations: 0 / 1.139 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7857, allocations: 4.703 kB / 1.139 GB, free: 24.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.7858, allocations: 231.4 kB / 1.139 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7858, allocations: 4 kB / 1.139 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.7859, allocations: 9.672 kB / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7859, allocations: 0 / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.7859, allocations: 6.094 kB / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7859, allocations: 0 / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7859, allocations: 4.625 kB / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.7862, allocations: 146.2 kB / 1.139 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.7862, allocations: 103.5 kB / 1.139 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.7863, allocations: 5.672 kB / 1.139 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.7863, allocations: 6.719 kB / 1.139 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.7864, allocations: 15.3 kB / 1.139 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.7864, allocations: 4.797 kB / 1.139 GB, free: 23.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001781/0.7866, allocations: 195.8 kB / 1.139 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.964e-06/0.7866, allocations: 0 / 1.139 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002998/0.7869, allocations: 51.06 kB / 1.139 GB, free: 23.7 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) * 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.001039/0.788, allocations: 444.5 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.7882, allocations: 90.17 kB / 1.14 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7883, allocations: 0 / 1.14 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.7884, allocations: 41.64 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.7887, allocations: 38.11 kB / 1.14 GB, free: 23.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.7892, allocations: 326.3 kB / 1.14 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.7894, allocations: 0.7271 MB / 1.141 GB, free: 22.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.7896, allocations: 24.52 kB / 1.141 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.7896, allocations: 24.75 kB / 1.141 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.7896, allocations: 0 / 1.141 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.006241/0.7959, allocations: 2.515 MB / 1.143 GB, free: 20.81 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)