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 4.887/4.887, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002576/0.002576, allocations: 355.5 kB / 0.6446 GB, free: 21.71 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.462/4.462, allocations: 410.7 MB / 1.113 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002724/0.002724, allocations: 194.8 kB / 1.226 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0007803/0.0007806, allocations: 17.36 kB / 1.349 GB, free: 322.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2303, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.000822/0.2311, allocations: 349.8 kB / 1.462 GB, free: 220.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2326, allocations: 1.064 MB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.2327, allocations: 0.5312 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.94e-05/0.2328, allocations: 0 / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.917e-05/0.2328, allocations: 4.781 kB / 1.463 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.2334, allocations: 107.9 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2335, allocations: 76.38 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.12e-05/0.2336, allocations: 4.875 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.2337, allocations: 39.84 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.2338, allocations: 17.66 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.2338, allocations: 8 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.2339, allocations: 19.92 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.234, allocations: 7.984 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.2341, allocations: 34.89 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.2342, allocations: 59.86 kB / 1.463 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2342, allocations: 0 / 1.463 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2342, allocations: 0 / 1.463 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2342, allocations: 1.219 kB / 1.463 GB, free: 218.9 MB / 0.8073 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.000399/0.2347, allocations: 365.2 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2347, allocations: 13.5 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.2348, allocations: 4 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.235, allocations: 190.9 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.235, allocations: 0.5625 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.235, allocations: 10.53 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.2352, allocations: 41.69 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2352, allocations: 4 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2352, allocations: 0 / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2352, allocations: 0 / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.2353, allocations: 19.92 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.2357, allocations: 315.1 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.01e-05/0.2357, allocations: 14.58 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.2358, allocations: 14.08 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.2358, allocations: 0 / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.2359, allocations: 64.44 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.2359, allocations: 4.531 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0002094/0.2362, allocations: 61.72 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.2362, allocations: 60.66 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.2363, allocations: 105.9 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.2363, allocations: 34.38 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.2364, allocations: 88.14 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.2364, allocations: 6.062 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.2364, allocations: 0 / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.2365, allocations: 314.8 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2366, allocations: 27.98 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2367, allocations: 55.81 kB / 1.465 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.2369, allocations: 59.3 kB / 1.465 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2369, allocations: 0 / 1.465 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003228/0.2372, allocations: 147.2 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.2373, allocations: 34.52 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2373, allocations: 0 / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2373, allocations: 4.625 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.102e-05/0.2373, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2373, allocations: 1.469 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.2377, allocations: 53.84 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.2378, allocations: 4 kB / 1.465 GB, free: 216.6 MB / 0.8073 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 0.0001275/0.2379, allocations: 109.8 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.2379, allocations: 4.719 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.238, allocations: 11.89 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.238, allocations: 1.094 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.238, allocations: 0 / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.238, allocations: 81.02 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2381, allocations: 8.984 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.2381, allocations: 0 / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.2381, allocations: 5.453 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001286/0.2383, allocations: 132.9 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001355/0.2384, allocations: 221 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.609e-05/0.2385, allocations: 11.98 kB / 1.466 GB, free: 216 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.2385, allocations: 83.55 kB / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of Backend: time 8.31e-07/0.2385, allocations: 2.719 kB / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005745/0.2391, allocations: 209.3 kB / 1.466 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0004736/0.2396, allocations: 0.5794 MB / 1.467 GB, free: 215 MB / 0.8073 GB Notification: Performance of Templates: time 0.004259/0.2439, allocations: 0.9847 MB / 1.467 GB, free: 214.1 MB / 0.8073 GB