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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0-master/package.mo): time 2.01/2.01, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 193.4 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009495, allocations: 114.4 kB / 0.9329 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 53.36 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2614, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002448/0.2638, allocations: 1.823 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2651, allocations: 1.097 MB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.2652, allocations: 0 / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.2655, allocations: 55.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.2657, allocations: 75.73 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.2662, allocations: 195.2 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.2663, allocations: 139.6 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.2664, allocations: 25.05 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.2665, allocations: 51.78 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.2666, allocations: 59.75 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.2666, allocations: 8 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2668, allocations: 67.89 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.2668, allocations: 35.91 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.2669, allocations: 55.59 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.2671, allocations: 189.5 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2671, allocations: 3.938 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2671, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2671, allocations: 3.938 kB / 1.222 GB, free: 113.3 MB / 0.823 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.0005313/0.2677, allocations: 492.4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2677, allocations: 15.98 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.2677, allocations: 16.75 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.268, allocations: 250.8 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.268, allocations: 8.375 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.268, allocations: 4.125 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.2682, allocations: 100.1 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.2682, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2682, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2682, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.261e-05/0.2683, allocations: 35.98 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.2687, allocations: 360.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.2689, allocations: 82.66 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.269, allocations: 36.84 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.269, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.2692, allocations: 83.41 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.2692, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003033/0.2695, allocations: 137.5 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.2696, allocations: 102.8 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.2698, allocations: 267.9 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2698, allocations: 29.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.2698, allocations: 116 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.2699, allocations: 19.75 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.2699, allocations: 29.64 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.27, allocations: 330.8 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.27, allocations: 27.98 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.2701, allocations: 76.2 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.2702, allocations: 69.69 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2702, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001681/0.2704, allocations: 121.4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.2704, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2704, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2705, allocations: 4.031 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.2705, allocations: 12 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2705, allocations: 3.938 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.2706, allocations: 15.86 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2706, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 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 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.978e-05/0.2707, allocations: 144.6 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.2707, allocations: 11.81 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.2708, allocations: 21.39 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.2708, allocations: 4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2708, allocations: 4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2708, allocations: 3.938 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.271, allocations: 229.4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.271, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.271, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.271, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.271, allocations: 3.984 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.271, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.271, allocations: 0 / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.2714, allocations: 0.7412 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.2715, allocations: 92.91 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.2715, allocations: 7.938 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.2716, allocations: 4 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.2716, allocations: 11.92 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2717, allocations: 4 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001249/0.2718, allocations: 204.4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2718, allocations: 0 / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003153/0.2721, allocations: 32 kB / 1.226 GB, free: 108.6 MB / 0.823 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.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008948/0.273, allocations: 427.2 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.2732, allocations: 71.94 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2732, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.2733, allocations: 35.92 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.2736, allocations: 36.69 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.2741, allocations: 459.5 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.2742, allocations: 0.7243 MB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.412e-05/0.2743, allocations: 29.36 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.2743, allocations: 15.44 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.2743, allocations: 4 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of Templates: time 0.004454/0.2788, allocations: 2.491 MB / 1.23 GB, free: 104.4 MB / 0.823 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)