Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.205/2.205, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 183.3 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.594/2.594, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001104, allocations: 98.33 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004688, allocations: 12.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2744/0.5021, allocations: 131.3 MB / 1.027 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/0.5025, allocations: 71.95 kB / 1.027 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003177/0.5057, allocations: 0.6727 MB / 1.028 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.975e-06/0.5057, allocations: 4 kB / 1.028 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5058, allocations: 4 kB / 1.028 GB, free: 13.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005998/0.5064, allocations: 347.5 kB / 1.028 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.5065, allocations: 11.97 kB / 1.028 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.5065, allocations: 7.906 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.5068, allocations: 171 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.5068, allocations: 4 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.5069, allocations: 4 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.5071, allocations: 45.69 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5071, allocations: 0 / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.5071, allocations: 4 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5071, allocations: 4 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.5072, allocations: 15.98 kB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.508, allocations: 280.9 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.5081, allocations: 34.5 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.5082, allocations: 0 / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.5084, allocations: 55.39 kB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.405e-06/0.5084, allocations: 0 / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002838/0.5087, allocations: 61.55 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.5088, allocations: 59.41 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.5089, allocations: 96.98 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.509, allocations: 29.7 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.5091, allocations: 84.14 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.5091, allocations: 7.891 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.5091, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5093, allocations: 322.8 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.5094, allocations: 4 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-05/0.5095, allocations: 25.66 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.5095, allocations: 11.98 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5095, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001769/0.5097, allocations: 49.69 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.5098, allocations: 4 kB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5098, allocations: 0 / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5098, allocations: 0 / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.5099, allocations: 11.88 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.51, allocations: 3.953 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.5101, allocations: 8.281 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5101, allocations: 8 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * 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.0001456/0.5103, allocations: 117.8 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.5103, allocations: 3.906 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.5104, allocations: 7.5 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5104, allocations: 4 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5104, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.5105, allocations: 3.953 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.5107, allocations: 165.7 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5107, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.5108, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5108, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.5108, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5108, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.5108, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.5111, allocations: 81 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.5111, allocations: 89.05 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.5112, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.5113, allocations: 4 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.5114, allocations: 7.984 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.5114, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.5115, allocations: 83.28 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5115, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004271/0.512, allocations: 4 kB / 1.03 GB, free: 10.68 MB / 0.6823 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,booRep.y[3],booPul.pulseStart) * 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.0001724/0.5122, allocations: 107.6 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.5123, allocations: 23.94 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5124, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.5124, allocations: 8.078 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.5128, allocations: 10.02 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.5133, allocations: 154.6 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.5137, allocations: 0.6887 MB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.27e-05/0.5138, allocations: 0 / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.5138, allocations: 11.44 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of SimCode: time 9.01e-07/0.5138, allocations: 0 / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of Templates: time 0.004266/0.5181, allocations: 447.9 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB