Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005952/0.005958, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.397/1.397, allocations: 165.8 MB / 183.1 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.243/4.243, allocations: 410.7 MB / 0.6001 GB, free: 2.176 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001861/0.001861, allocations: 187.7 kB / 0.6668 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006241/0.0006243, allocations: 12 kB / 0.7429 GB, free: 56 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4736, allocations: 67.44 MB / 0.8087 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.6273, allocations: 102.3 MB / 0.9086 GB, free: 155 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.6276, allocations: 84.48 kB / 0.9087 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02281/0.6505, allocations: 5.431 MB / 0.914 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.286e-06/0.6505, allocations: 0 / 0.914 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.316e-05/0.6505, allocations: 9.406 kB / 0.914 GB, free: 149.6 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008455/0.6514, allocations: 493.4 kB / 0.9145 GB, free: 149 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6515, allocations: 8.031 kB / 0.9145 GB, free: 149 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.594e-05/0.6516, allocations: 20.45 kB / 0.9145 GB, free: 149 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.652, allocations: 249.8 kB / 0.9147 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.6521, allocations: 9.828 kB / 0.9147 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.6521, allocations: 4 kB / 0.9147 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.6524, allocations: 93.28 kB / 0.9148 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6524, allocations: 1.625 kB / 0.9148 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.6524, allocations: 4.516 kB / 0.9148 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.6525, allocations: 4 kB / 0.9148 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.6526, allocations: 35.98 kB / 0.9149 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.6533, allocations: 359.8 kB / 0.9152 GB, free: 148.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.6536, allocations: 81.36 kB / 0.9153 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.6537, allocations: 41.36 kB / 0.9153 GB, free: 148 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.6538, allocations: 4 kB / 0.9153 GB, free: 148 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.654, allocations: 84.91 kB / 0.9154 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 3.937e-06/0.654, allocations: 112 / 0.9154 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0004908/0.6545, allocations: 153.3 kB / 0.9156 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.6546, allocations: 81.11 kB / 0.9156 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.655, allocations: 267.5 kB / 0.9159 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.655, allocations: 25.7 kB / 0.9159 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.6551, allocations: 116.1 kB / 0.916 GB, free: 147.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.6551, allocations: 20.72 kB / 0.9161 GB, free: 147.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.6552, allocations: 3.984 kB / 0.9161 GB, free: 147.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.6552, allocations: 336.3 kB / 0.9164 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.724e-05/0.6553, allocations: 31.92 kB / 0.9164 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.6555, allocations: 55.95 kB / 0.9165 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.6556, allocations: 40.14 kB / 0.9165 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.6556, allocations: 0 / 0.9165 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003441/0.656, allocations: 118.9 kB / 0.9166 GB, free: 146.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.656, allocations: 11.28 kB / 0.9166 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.656, allocations: 0 / 0.9166 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6561, allocations: 0.75 kB / 0.9166 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.6562, allocations: 11.98 kB / 0.9166 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.6562, allocations: 8.531 kB / 0.9167 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.6563, allocations: 9.562 kB / 0.9167 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.6564, allocations: 0 / 0.9167 GB, free: 146.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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.0001889/0.6566, allocations: 148.6 kB / 0.9168 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.6566, allocations: 23.75 kB / 0.9168 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.657, allocations: 127.7 kB / 0.9169 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.6571, allocations: 4 kB / 0.9169 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6571, allocations: 0.9688 kB / 0.917 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6571, allocations: 0 / 0.917 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.6573, allocations: 237.5 kB / 0.9172 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.6574, allocations: 5 kB / 0.9172 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.6574, allocations: 4 kB / 0.9172 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.6574, allocations: 1.75 kB / 0.9172 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.6575, allocations: 7.953 kB / 0.9172 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6575, allocations: 0 / 0.9172 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6575, allocations: 0 / 0.9172 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.6578, allocations: 149.3 kB / 0.9173 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.6579, allocations: 100.9 kB / 0.9174 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.658, allocations: 8 kB / 0.9174 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.6581, allocations: 7.953 kB / 0.9174 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.6581, allocations: 8.828 kB / 0.9175 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.6582, allocations: 0 / 0.9175 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000275/0.6585, allocations: 202 kB / 0.9176 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.503e-06/0.6585, allocations: 0 / 0.9176 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003682/0.6589, allocations: 47.88 kB / 0.9177 GB, free: 145.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.001241/0.6601, allocations: 422.3 kB / 0.9181 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.6605, allocations: 80.94 kB / 0.9182 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.6605, allocations: 0 / 0.9182 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6607, allocations: 45.3 kB / 0.9182 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.6612, allocations: 34.25 kB / 0.9183 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/0.6619, allocations: 336.5 kB / 0.9186 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.6621, allocations: 0.7297 MB / 0.9193 GB, free: 144 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.6623, allocations: 25.92 kB / 0.9193 GB, free: 144 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.6624, allocations: 19.44 kB / 0.9193 GB, free: 144 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/0.6624, allocations: 0 / 0.9193 GB, free: 144 MB / 0.5886 GB Notification: Performance of Templates: time 0.007658/0.67, allocations: 2.273 MB / 0.9215 GB, free: 142 MB / 0.5886 GB