Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.579/1.579, allocations: 297.8 MB / 313.7 MB, free: 144 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.0009995/0.0009995, allocations: 179 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.304/1.304, allocations: 223.2 MB / 0.6626 GB, free: 4.273 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.0007773/0.0007772, allocations: 89.16 kB / 0.7808 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003909, allocations: 13.59 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.683, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.8578, allocations: 141.3 MB / 1.164 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.8581, allocations: 67.86 kB / 1.164 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004908/0.863, allocations: 1.835 MB / 1.166 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.663e-06/0.863, allocations: 0 / 1.166 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.863, allocations: 0.8438 kB / 1.166 GB, free: 0.8047 MB / 0.7292 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.0003676/0.8634, allocations: 372.7 kB / 1.167 GB, free: 400 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.8635, allocations: 12.03 kB / 1.167 GB, free: 388 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.8635, allocations: 8.844 kB / 1.167 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.8637, allocations: 178.1 kB / 1.167 GB, free: 172 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.8637, allocations: 10.81 kB / 1.167 GB, free: 164 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.8638, allocations: 9.109 kB / 1.167 GB, free: 156 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.8639, allocations: 42.11 kB / 1.167 GB, free: 112 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.8639, allocations: 4.938 kB / 1.167 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.8639, allocations: 4.875 kB / 1.167 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.8639, allocations: 1.219 kB / 1.167 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.693e-05/0.864, allocations: 11.3 kB / 1.167 GB, free: 96 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.8644, allocations: 311.3 kB / 1.167 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/0.8645, allocations: 19.38 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.8645, allocations: 10.28 kB / 1.167 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.8645, allocations: 3.078 kB / 1.167 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.8647, allocations: 54.7 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.8647, allocations: 1.469 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000194/0.8649, allocations: 62.66 kB / 1.167 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.8649, allocations: 56.44 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.865, allocations: 111.5 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.8651, allocations: 25.7 kB / 1.167 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.8651, allocations: 90.14 kB / 1.168 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.8652, allocations: 9.281 kB / 1.168 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.8652, allocations: 4 kB / 1.168 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8653, allocations: 321.3 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.8654, allocations: 32.41 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/0.8655, allocations: 45.88 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.8656, allocations: 84.62 kB / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8656, allocations: 0 / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002434/0.8659, allocations: 143.3 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.8659, allocations: 36.48 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.8659, allocations: 4.719 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.866, allocations: 1.75 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.616e-05/0.866, allocations: 0.75 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.866, allocations: 4.875 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.8662, allocations: 34.73 kB / 1.168 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.8662, allocations: 5.688 kB / 1.168 GB, free: 14.6 MB / 0.7448 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.0001048/0.8663, allocations: 126.5 kB / 1.168 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.8663, allocations: 8.469 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.8664, allocations: 5.5 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.8664, allocations: 0 / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8664, allocations: 0.6094 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.8664, allocations: 4.5 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.8666, allocations: 169.1 kB / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8666, allocations: 1.984 kB / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.8666, allocations: 4 kB / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8666, allocations: 0.5625 kB / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.8666, allocations: 1.094 kB / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.8666, allocations: 0.6094 kB / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8666, allocations: 0 / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.8667, allocations: 85.94 kB / 1.169 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.8668, allocations: 79.66 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.8668, allocations: 0.7031 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.8668, allocations: 4.641 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.8669, allocations: 6.453 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.8669, allocations: 0.7969 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.124e-05/0.8669, allocations: 85.81 kB / 1.169 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8669, allocations: 0 / 1.169 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002121/0.8671, allocations: 29.61 kB / 1.169 GB, free: 13.94 MB / 0.7448 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.0001436/0.8673, allocations: 110.1 kB / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.8675, allocations: 125.3 kB / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8675, allocations: 0 / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.8675, allocations: 15.73 kB / 1.169 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.8677, allocations: 11.25 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.8681, allocations: 142.6 kB / 1.169 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.8683, allocations: 0.6814 MB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.8684, allocations: 0.5625 kB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.8684, allocations: 12.14 kB / 1.17 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/0.8684, allocations: 0 / 1.17 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of Templates: time 0.003273/0.8717, allocations: 0.9837 MB / 1.171 GB, free: 12.28 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1)