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.489/2.489, allocations: 252.6 MB / 265.2 MB, free: 5.805 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 181.2 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 0.5754 GB, free: 10.51 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.001082/0.001082, allocations: 94.39 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.39e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2221, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.266, allocations: 131.2 MB / 1.023 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/1.267, allocations: 69.95 kB / 1.023 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003014/1.27, allocations: 0.6698 MB / 1.024 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.879e-06/1.27, allocations: 0 / 1.024 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.27, allocations: 7.938 kB / 1.024 GB, free: 2.691 MB / 0.6355 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.000536/1.27, allocations: 337.8 kB / 1.024 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/1.27, allocations: 12.03 kB / 1.024 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/1.271, allocations: 0 / 1.024 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/1.271, allocations: 178.2 kB / 1.024 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/1.271, allocations: 7.984 kB / 1.024 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/1.271, allocations: 3.25 kB / 1.024 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/1.271, allocations: 49.06 kB / 1.024 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.271, allocations: 0.875 kB / 1.024 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.271, allocations: 6.312 kB / 1.024 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/1.271, allocations: 0 / 1.024 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.933e-05/1.271, allocations: 19.5 kB / 1.024 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/1.272, allocations: 278.9 kB / 1.025 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/1.272, allocations: 26.08 kB / 1.025 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/1.272, allocations: 12.61 kB / 1.025 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/1.272, allocations: 0 / 1.025 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/1.272, allocations: 58.27 kB / 1.025 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.354e-06/1.272, allocations: 0 / 1.025 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002118/1.273, allocations: 49.53 kB / 1.025 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/1.273, allocations: 59.39 kB / 1.025 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/1.273, allocations: 101.8 kB / 1.025 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/1.273, allocations: 29.7 kB / 1.025 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/1.273, allocations: 80.14 kB / 1.025 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/1.273, allocations: 7.031 kB / 1.025 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/1.273, allocations: 0 / 1.025 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.273, allocations: 322.1 kB / 1.025 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/1.273, allocations: 4 kB / 1.025 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/1.273, allocations: 25.09 kB / 1.025 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.026e-05/1.273, allocations: 6.609 kB / 1.025 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.273, allocations: 3.938 kB / 1.025 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001675/1.273, allocations: 52.56 kB / 1.025 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.274, allocations: 7.938 kB / 1.025 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.274, allocations: 4 kB / 1.025 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.274, allocations: 0 / 1.025 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/1.274, allocations: 11.95 kB / 1.025 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.274, allocations: 7.953 kB / 1.025 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/1.274, allocations: 4 kB / 1.025 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.274, allocations: 0 / 1.025 GB, free: 0.8164 MB / 0.6355 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 () * 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.0001109/1.274, allocations: 108.5 kB / 1.026 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/1.274, allocations: 3.906 kB / 1.026 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/1.274, allocations: 11.48 kB / 1.026 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.274, allocations: 0 / 1.026 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.274, allocations: 0 / 1.026 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.274, allocations: 8.141 kB / 1.026 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/1.274, allocations: 168.7 kB / 1.026 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.274, allocations: 0.875 kB / 1.026 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/1.274, allocations: 3.984 kB / 1.026 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.274, allocations: 0 / 1.026 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/1.274, allocations: 0 / 1.026 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.274, allocations: 4 kB / 1.026 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.274, allocations: 0 / 1.026 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/1.275, allocations: 80.14 kB / 1.026 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.123e-05/1.275, allocations: 81.36 kB / 1.026 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/1.275, allocations: 0 / 1.026 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.275, allocations: 11.98 kB / 1.026 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/1.275, allocations: 4 kB / 1.026 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/1.275, allocations: 3.984 kB / 1.026 GB, free: 264 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.364e-05/1.275, allocations: 83.09 kB / 1.026 GB, free: 184 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.82e-07/1.275, allocations: 0 / 1.026 GB, free: 184 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004442/1.276, allocations: 8 kB / 1.026 GB, free: 176 kB / 0.6355 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 () * 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.0002075/1.276, allocations: 103.2 kB / 1.026 GB, free: 64 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001525/1.276, allocations: 22.5 kB / 1.026 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.276, allocations: 0 / 1.026 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/1.276, allocations: 11.98 kB / 1.026 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/1.276, allocations: 12.19 kB / 1.026 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/1.277, allocations: 79.03 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/1.277, allocations: 0.6848 MB / 1.027 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.744e-05/1.277, allocations: 4 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/1.277, allocations: 7.438 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.277, allocations: 0 / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of Templates: time 0.004204/1.282, allocations: 457.4 kB / 1.027 GB, free: 14.78 MB / 0.6511 GB