Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.572/1.572, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009373/0.0009373, allocations: 176.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 0.6626 GB, free: 4.203 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007178/0.0007179, allocations: 89.31 kB / 0.7808 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004035, allocations: 12.5 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6688, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.8466, allocations: 141.3 MB / 1.164 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.8468, allocations: 72.28 kB / 1.164 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008261/0.8551, allocations: 3.035 MB / 1.167 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8551, allocations: 0.5312 kB / 1.167 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.8552, allocations: 5.781 kB / 1.167 GB, free: 15.98 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004122/0.8556, allocations: 433.1 kB / 1.168 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.8556, allocations: 8.031 kB / 1.168 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.8557, allocations: 13.41 kB / 1.168 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.8559, allocations: 219.2 kB / 1.168 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.856, allocations: 13.03 kB / 1.168 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.856, allocations: 9.172 kB / 1.168 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.8562, allocations: 108.5 kB / 1.168 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.8562, allocations: 192 / 1.168 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8562, allocations: 4.594 kB / 1.168 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8563, allocations: 0 / 1.168 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.8563, allocations: 44.7 kB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.8569, allocations: 484.6 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/0.857, allocations: 60.23 kB / 1.169 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.8571, allocations: 33.64 kB / 1.169 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-06/0.8571, allocations: 0.7031 kB / 1.169 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.8573, allocations: 118.1 kB / 1.169 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.8573, allocations: 1.219 kB / 1.169 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002827/0.8576, allocations: 131.1 kB / 1.169 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.8576, allocations: 85.84 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.8578, allocations: 132.7 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.8578, allocations: 32.31 kB / 1.169 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.8579, allocations: 102.1 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.8579, allocations: 8.469 kB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.8579, allocations: 4 kB / 1.169 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8581, allocations: 326.5 kB / 1.17 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.8583, allocations: 119.1 kB / 1.17 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.8586, allocations: 167.7 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.8589, allocations: 240.6 kB / 1.17 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.8589, allocations: 4.75 kB / 1.17 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006212/0.8595, allocations: 396.4 kB / 1.171 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.8596, allocations: 70.27 kB / 1.171 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8596, allocations: 0.6562 kB / 1.171 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.8596, allocations: 5.172 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.912e-05/0.8596, allocations: 0.6562 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.8596, allocations: 6.688 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.86, allocations: 87 kB / 1.171 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.86, allocations: 10.81 kB / 1.171 GB, free: 12.63 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001313/0.8602, allocations: 149 kB / 1.171 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.8602, allocations: 8.422 kB / 1.171 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.8602, allocations: 12.61 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8602, allocations: 0.5625 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8602, allocations: 0 / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.8603, allocations: 4.781 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.8604, allocations: 181.5 kB / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8604, allocations: 0.6875 kB / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.8605, allocations: 2.109 kB / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8605, allocations: 8.656 kB / 1.171 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.8605, allocations: 5.734 kB / 1.171 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8605, allocations: 4.625 kB / 1.171 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8605, allocations: 0.6094 kB / 1.171 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.8607, allocations: 137.1 kB / 1.171 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.8607, allocations: 83.16 kB / 1.171 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.8608, allocations: 0.5625 kB / 1.171 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.8608, allocations: 9.172 kB / 1.171 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.8608, allocations: 9.906 kB / 1.171 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.8608, allocations: 4.656 kB / 1.171 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.075e-05/0.8609, allocations: 102.7 kB / 1.171 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8609, allocations: 0 / 1.171 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002387/0.8612, allocations: 33.31 kB / 1.171 GB, free: 11.84 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * 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.0001529/0.8613, allocations: 109.8 kB / 1.172 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.8618, allocations: 326.2 kB / 1.172 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8618, allocations: 1.875 kB / 1.172 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.599e-05/0.8619, allocations: 35.48 kB / 1.172 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.8621, allocations: 20.12 kB / 1.172 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.8625, allocations: 230.8 kB / 1.172 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.8628, allocations: 0.6997 MB / 1.173 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.8629, allocations: 5.219 kB / 1.173 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.8629, allocations: 12 kB / 1.173 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.8629, allocations: 0 / 1.173 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.00502/0.8679, allocations: 2.138 MB / 1.175 GB, free: 9.27 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)