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.968/4.968, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 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.00242/0.002419, allocations: 355.7 kB / 0.644 GB, free: 185.6 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.265/4.265, allocations: 410.7 MB / 1.112 GB, free: 5.98 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.00177/0.001769, allocations: 176.5 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6583, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00287/0.6612, allocations: 1.471 MB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.6639, allocations: 0.8482 MB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.6641, allocations: 3.938 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.6652, allocations: 155.2 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.6657, allocations: 88.8 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.6667, allocations: 120.2 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.6671, allocations: 151.6 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.6673, allocations: 17.61 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.6676, allocations: 63.69 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.6678, allocations: 55.77 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.6679, allocations: 4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.6682, allocations: 59.11 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.6683, allocations: 35.91 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.595e-05/0.6684, allocations: 41.64 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.6688, allocations: 149.7 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.552e-06/0.6688, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.695e-06/0.6688, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.6689, allocations: 0 / 1.464 GB, free: 281.1 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.001021/0.6699, allocations: 473.2 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.67, allocations: 11.62 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.498e-05/0.6701, allocations: 21.64 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.6706, allocations: 239.7 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.6707, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.6707, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.6711, allocations: 96.38 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6712, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.6712, allocations: 2.719 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/0.6713, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.6715, allocations: 31.94 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.6726, allocations: 361.4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.673, allocations: 72.58 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.6732, allocations: 35.8 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.6733, allocations: 3.984 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.6736, allocations: 87.39 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 6.04e-06/0.6737, allocations: 7.875 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0007191/0.6744, allocations: 138.6 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.6745, allocations: 81.11 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005535/0.6751, allocations: 262.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.6751, allocations: 25.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.6753, allocations: 121.2 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.6754, allocations: 23.73 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.6754, allocations: 0.6562 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6755, allocations: 336.1 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.6757, allocations: 23.98 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.6759, allocations: 56.14 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.6761, allocations: 37.17 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.722e-06/0.6762, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005046/0.6767, allocations: 119.3 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.6768, allocations: 8 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6768, allocations: 3.953 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.6768, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.677, allocations: 8.844 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.6771, allocations: 4 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6773, allocations: 9.047 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.6773, allocations: 0 / 1.466 GB, free: 278.2 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.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,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.0002413/0.6776, allocations: 148 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.6776, allocations: 17.55 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.806e-05/0.6778, allocations: 17.39 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/0.6778, allocations: 9.016 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.295e-06/0.6778, allocations: 3.938 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.53e-06/0.6779, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.6782, allocations: 226.1 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6783, allocations: 6.156 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.6784, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.895e-06/0.6784, allocations: 7.938 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.6784, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-06/0.6784, allocations: 3.984 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.775e-06/0.6785, allocations: 3.953 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.679, allocations: 146.2 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.6792, allocations: 101.5 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.6793, allocations: 4 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.6794, allocations: 5.031 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.6795, allocations: 11.94 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.6796, allocations: 0.9375 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002271/0.6799, allocations: 198.1 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.92e-07/0.6799, allocations: 1.594 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003497/0.6802, allocations: 31.98 kB / 1.467 GB, free: 277.2 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.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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 (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.001441/0.6817, allocations: 427.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.682, allocations: 67.92 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.584e-06/0.6821, allocations: 1.25 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.6822, allocations: 39.92 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.6826, allocations: 33.67 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.6832, allocations: 320.1 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.6834, allocations: 0.7282 MB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.6835, allocations: 27.69 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.6836, allocations: 15.44 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.71e-06/0.6836, allocations: 0 / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.006831/0.6904, allocations: 2.127 MB / 1.471 GB, free: 273.8 MB / 0.8542 GB