Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.653/1.653, allocations: 285.4 MB / 298 MB, free: 6.02 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.002338/0.002338, allocations: 180.8 kB / 366.4 MB, free: 2.113 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.953/1.953, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0007938/0.0007937, allocations: 88.67 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.12e-05/5.122e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7472, allocations: 115.3 MB / 0.9709 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.9397, allocations: 141.9 MB / 1.109 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.94, allocations: 79.95 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.9547, allocations: 5.389 MB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9547, allocations: 0 / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.9548, allocations: 4 kB / 1.115 GB, free: 4.438 MB / 0.7136 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.000506/0.9553, allocations: 463.3 kB / 1.115 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.9553, allocations: 12.03 kB / 1.115 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.9554, allocations: 19.66 kB / 1.115 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.9557, allocations: 251.7 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.9558, allocations: 4 kB / 1.116 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.9558, allocations: 4 kB / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.956, allocations: 98.36 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.956, allocations: 0 / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.956, allocations: 4 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.956, allocations: 0 / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.9561, allocations: 35.58 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.9566, allocations: 381.4 kB / 1.116 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.9568, allocations: 87.83 kB / 1.116 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.9569, allocations: 25.45 kB / 1.116 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.9569, allocations: 4.688 kB / 1.116 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.957, allocations: 91.38 kB / 1.116 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.9571, allocations: 0 / 1.116 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000238/0.9573, allocations: 112.7 kB / 1.116 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.9574, allocations: 102.8 kB / 1.116 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.9576, allocations: 246.6 kB / 1.117 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.9577, allocations: 25.7 kB / 1.117 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.9577, allocations: 124.1 kB / 1.117 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.9578, allocations: 15.72 kB / 1.117 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.9578, allocations: 7.781 kB / 1.117 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9579, allocations: 326.8 kB / 1.117 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.9579, allocations: 27.92 kB / 1.117 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.958, allocations: 68.28 kB / 1.117 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.9581, allocations: 27.98 kB / 1.117 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9581, allocations: 2.312 kB / 1.117 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.9583, allocations: 117.4 kB / 1.117 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.9583, allocations: 9.406 kB / 1.117 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.9583, allocations: 0 / 1.117 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.9584, allocations: 0 / 1.117 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.9584, allocations: 15.98 kB / 1.117 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.9585, allocations: 4.031 kB / 1.117 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.9585, allocations: 7.953 kB / 1.117 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.9585, allocations: 4 kB / 1.117 GB, free: 1.539 MB / 0.7136 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 7.946e-05/0.9586, allocations: 119.9 kB / 1.118 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.9587, allocations: 19.75 kB / 1.118 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.9589, allocations: 123.1 kB / 1.118 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.9589, allocations: 2.016 kB / 1.118 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9589, allocations: 9.047 kB / 1.118 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.9589, allocations: 3.984 kB / 1.118 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.9591, allocations: 237.4 kB / 1.118 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.9591, allocations: 3.938 kB / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.9592, allocations: 8 kB / 1.118 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.9592, allocations: 0 / 1.118 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.9592, allocations: 0 / 1.118 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.9592, allocations: 5.062 kB / 1.118 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.9592, allocations: 3.984 kB / 1.118 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.9594, allocations: 148.8 kB / 1.118 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.9595, allocations: 100.9 kB / 1.118 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.9596, allocations: 4 kB / 1.118 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.9596, allocations: 4 kB / 1.118 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.9597, allocations: 13.77 kB / 1.118 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.9597, allocations: 0 / 1.118 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001777/0.9599, allocations: 200.4 kB / 1.118 GB, free: 476 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9599, allocations: 0 / 1.118 GB, free: 476 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000251/0.9601, allocations: 47.94 kB / 1.118 GB, free: 428 kB / 0.7136 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.0008617/0.961, allocations: 402.1 kB / 1.119 GB, free: 176 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.9612, allocations: 79.91 kB / 1.119 GB, free: 96 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9612, allocations: 0.75 kB / 1.119 GB, free: 96 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.9613, allocations: 45.88 kB / 1.119 GB, free: 52 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.9616, allocations: 35.92 kB / 1.119 GB, free: 16 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.962, allocations: 220.8 kB / 1.119 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.9623, allocations: 0.7282 MB / 1.12 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.531e-05/0.9624, allocations: 23.94 kB / 1.12 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.9625, allocations: 26.19 kB / 1.12 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.9625, allocations: 0 / 1.12 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.005237/0.9677, allocations: 2.489 MB / 1.122 GB, free: 12.57 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)