Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.741/1.741, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001017, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008846/0.0008847, allocations: 98.42 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005877/0.000588, allocations: 12 kB / 0.9088 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7377, allocations: 120.3 MB / 1.026 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2084/0.9461, allocations: 145.7 MB / 1.169 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.9464, allocations: 79.73 kB / 1.169 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.9635, allocations: 5.557 MB / 1.174 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9635, allocations: 4.438 kB / 1.174 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.9635, allocations: 4 kB / 1.174 GB, free: 10.66 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.0007757/0.9643, allocations: 496 kB / 1.175 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9644, allocations: 12.03 kB / 1.175 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.9645, allocations: 17.28 kB / 1.175 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.9648, allocations: 271 kB / 1.175 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.9649, allocations: 4.375 kB / 1.175 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.9649, allocations: 4.375 kB / 1.175 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.9651, allocations: 103.3 kB / 1.175 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.9651, allocations: 192 / 1.175 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.9652, allocations: 3.938 kB / 1.175 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.9652, allocations: 0 / 1.175 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.9653, allocations: 43.22 kB / 1.175 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.9659, allocations: 365.9 kB / 1.175 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.9661, allocations: 88.41 kB / 1.175 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.9662, allocations: 35.2 kB / 1.175 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.9662, allocations: 4 kB / 1.175 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.9664, allocations: 84.11 kB / 1.176 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.624e-06/0.9664, allocations: 0.875 kB / 1.176 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000387/0.9668, allocations: 143.6 kB / 1.176 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.9669, allocations: 104.4 kB / 1.176 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.9672, allocations: 271.6 kB / 1.176 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.9673, allocations: 25.7 kB / 1.176 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.9674, allocations: 116.7 kB / 1.176 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.9674, allocations: 23.73 kB / 1.176 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.9674, allocations: 4.609 kB / 1.176 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.9676, allocations: 336.2 kB / 1.177 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.9677, allocations: 28.95 kB / 1.177 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.9678, allocations: 74.7 kB / 1.177 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.9679, allocations: 70.98 kB / 1.177 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9679, allocations: 0.8438 kB / 1.177 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002261/0.9682, allocations: 114.6 kB / 1.177 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.9682, allocations: 8.656 kB / 1.177 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9682, allocations: 0 / 1.177 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.9682, allocations: 0.5312 kB / 1.177 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.73e-05/0.9683, allocations: 20.77 kB / 1.177 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.9684, allocations: 1.094 kB / 1.177 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.9684, allocations: 18.22 kB / 1.177 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.9685, allocations: 7.984 kB / 1.177 GB, free: 7.574 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 () * 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.0001541/0.9686, allocations: 144 kB / 1.177 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.9687, allocations: 15.81 kB / 1.177 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.9689, allocations: 128.7 kB / 1.177 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.969, allocations: 5.906 kB / 1.177 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.969, allocations: 0 / 1.177 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.969, allocations: 0 / 1.177 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.9692, allocations: 237.5 kB / 1.177 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9692, allocations: 2.344 kB / 1.177 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.9693, allocations: 10.39 kB / 1.177 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.9693, allocations: 0 / 1.177 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.9693, allocations: 4 kB / 1.177 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.9693, allocations: 1.25 kB / 1.177 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.9693, allocations: 0 / 1.177 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.9696, allocations: 159.5 kB / 1.178 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.9696, allocations: 100.9 kB / 1.178 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.9697, allocations: 0 / 1.178 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.9697, allocations: 8 kB / 1.178 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.9698, allocations: 10.47 kB / 1.178 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.9698, allocations: 6.062 kB / 1.178 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001841/0.97, allocations: 200.4 kB / 1.178 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.97, allocations: 1.188 kB / 1.178 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002839/0.9703, allocations: 55.91 kB / 1.178 GB, free: 6.426 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) * 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.001019/0.9713, allocations: 444.3 kB / 1.178 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.9716, allocations: 83.88 kB / 1.178 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9716, allocations: 0 / 1.178 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.958e-05/0.9717, allocations: 43.92 kB / 1.178 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.972, allocations: 45.39 kB / 1.178 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.9726, allocations: 330.5 kB / 1.179 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.9729, allocations: 0.7204 MB / 1.179 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.871e-05/0.973, allocations: 23.34 kB / 1.18 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.973, allocations: 19.42 kB / 1.18 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.973, allocations: 0 / 1.18 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.005437/0.9785, allocations: 2.523 MB / 1.182 GB, free: 2.527 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)