Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.039/5.039, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 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.002526/0.002525, allocations: 357 kB / 0.6446 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.141/4.141, allocations: 410.7 MB / 1.113 GB, free: 5.934 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.001871/0.001871, allocations: 188 kB / 1.226 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004871, allocations: 12 kB / 1.349 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.7504, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.9566, allocations: 137.9 MB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.9569, allocations: 72.47 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.007877/0.9648, allocations: 1.821 MB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9648, allocations: 0 / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.9649, allocations: 0 / 1.598 GB, free: 144.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00038/0.9653, allocations: 373 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.9653, allocations: 16.72 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.9654, allocations: 4 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.9656, allocations: 184.1 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.9656, allocations: 5.656 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.9656, allocations: 8 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.9658, allocations: 45.62 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9658, allocations: 0.7812 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.9658, allocations: 3.984 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.9658, allocations: 0.6562 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.9659, allocations: 12 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.9662, allocations: 306.6 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.665e-05/0.9663, allocations: 20.25 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.9663, allocations: 14.06 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.9664, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.9665, allocations: 61.81 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.9665, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001957/0.9667, allocations: 66.59 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.9667, allocations: 55.36 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.9668, allocations: 106.8 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.9668, allocations: 37.64 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.9669, allocations: 88.58 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.9669, allocations: 7.891 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.967, allocations: 5.25 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.967, allocations: 318.8 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.9671, allocations: 24.48 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.9673, allocations: 51.59 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.9674, allocations: 55.62 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9674, allocations: 4 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000312/0.9677, allocations: 135.3 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.9678, allocations: 41.2 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9678, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.9678, allocations: 9.953 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.074e-05/0.9678, allocations: 5.297 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.9678, allocations: 3.953 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.9682, allocations: 38.09 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.9682, allocations: 8 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.165e-05/0.9683, allocations: 115.3 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.9683, allocations: 7.891 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.9684, allocations: 8.625 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.9684, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9684, allocations: 0.8438 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9684, allocations: 3.953 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.9685, allocations: 165.7 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9685, allocations: 1.375 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-06/0.9685, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.9685, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.9686, allocations: 5.344 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9686, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9686, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.9687, allocations: 83.52 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.9687, allocations: 77.89 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.9688, allocations: 7.984 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.9688, allocations: 1.125 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.9688, allocations: 0 / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-06/0.9689, allocations: 4.312 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.9689, allocations: 94.2 kB / 1.6 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9689, allocations: 0 / 1.6 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002731/0.9692, allocations: 23.94 kB / 1.6 GB, free: 141.4 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001403/0.9693, allocations: 103.2 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.9696, allocations: 123.9 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9696, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.9697, allocations: 21.14 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.9699, allocations: 11.89 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.9703, allocations: 136.6 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.9704, allocations: 0.6897 MB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.9705, allocations: 4 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.9705, allocations: 8.406 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.9705, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.003995/0.9745, allocations: 0.9762 MB / 1.602 GB, free: 139.4 MB / 0.8542 GB