Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.925/4.925, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002461/0.002461, allocations: 357.4 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.425/4.425, allocations: 410.7 MB / 1.113 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001865/0.001865, allocations: 182.5 kB / 1.226 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005206, allocations: 12 kB / 1.349 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7651, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/1.008, allocations: 141.8 MB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.008, allocations: 88.94 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02227/1.03, allocations: 5.422 MB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.813e-06/1.03, allocations: 0 / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.219e-05/1.03, allocations: 0 / 1.605 GB, free: 136.9 MB / 0.8542 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.0006784/1.031, allocations: 489.8 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.031, allocations: 12.16 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/1.031, allocations: 19.72 kB / 1.606 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/1.032, allocations: 256.4 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/1.032, allocations: 1 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/1.032, allocations: 4 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/1.032, allocations: 90.19 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.032, allocations: 0 / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/1.032, allocations: 8.641 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/1.032, allocations: 3.984 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/1.032, allocations: 46.45 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/1.033, allocations: 364.7 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/1.033, allocations: 79.98 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/1.033, allocations: 37.38 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/1.033, allocations: 4.906 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/1.033, allocations: 88.72 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 2.374e-06/1.033, allocations: 0 / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0004733/1.034, allocations: 145.4 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/1.034, allocations: 86.66 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/1.034, allocations: 257.6 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/1.034, allocations: 29.69 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/1.034, allocations: 121.7 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/1.034, allocations: 19.81 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/1.034, allocations: 7.938 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.773e-05/1.035, allocations: 322.8 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/1.035, allocations: 32.61 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/1.035, allocations: 70.31 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/1.035, allocations: 29.73 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.035, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002848/1.035, allocations: 117.8 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.035, allocations: 12.31 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.035, allocations: 1.656 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.035, allocations: 4 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.035, allocations: 15.98 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.035, allocations: 0 / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/1.036, allocations: 14.39 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/1.036, allocations: 4 kB / 1.608 GB, free: 134 MB / 0.8542 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.000144/1.036, allocations: 141.8 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/1.036, allocations: 15.81 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/1.036, allocations: 132.3 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/1.036, allocations: 3.938 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.036, allocations: 4 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.036, allocations: 1 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/1.036, allocations: 229.5 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.036, allocations: 4.969 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/1.037, allocations: 7.984 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.037, allocations: 0 / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.037, allocations: 2.281 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.037, allocations: 3.938 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.037, allocations: 4 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/1.037, allocations: 151 kB / 1.609 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/1.037, allocations: 100.8 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/1.037, allocations: 3.984 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/1.037, allocations: 9.25 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/1.037, allocations: 7.984 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/1.037, allocations: 4.5 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002541/1.037, allocations: 194.7 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.3e-07/1.038, allocations: 2.25 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003869/1.038, allocations: 47.91 kB / 1.609 GB, free: 132.8 MB / 0.8542 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.001225/1.039, allocations: 432 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003104/1.039, allocations: 79.95 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.039, allocations: 0 / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/1.04, allocations: 39.92 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/1.04, allocations: 45.86 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/1.041, allocations: 334.6 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/1.041, allocations: 0.7352 MB / 1.611 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001139/1.041, allocations: 29.38 kB / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/1.041, allocations: 23.42 kB / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/1.041, allocations: 0 / 1.611 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.007416/1.049, allocations: 2.258 MB / 1.613 GB, free: 129.2 MB / 0.8542 GB