Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008692/0.0008692, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002318, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002443, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9985/0.9985, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09298/1.091, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.961/1.961, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5897/2.551, allocations: 127.1 MB / 0.7435 GB, free: 4.547 MB / 0.7136 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7448 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.544e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001814/0.00184, allocations: 0.6803 MB / 0.7455 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.003158, allocations: 1.162 MB / 0.7466 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.003195, allocations: 0 / 0.7466 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.683e-05/0.003252, allocations: 2.406 kB / 0.7466 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.003279, allocations: 10 kB / 0.7466 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.003603, allocations: 116.7 kB / 0.7467 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.003761, allocations: 86.73 kB / 0.7468 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.789e-05/0.003829, allocations: 8 kB / 0.7468 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.003929, allocations: 51.14 kB / 0.7469 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.004027, allocations: 28.61 kB / 0.7469 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.004051, allocations: 9.438 kB / 0.7469 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.004133, allocations: 19.98 kB / 0.7469 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.004188, allocations: 8.297 kB / 0.7469 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.004235, allocations: 21.53 kB / 0.7469 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.00438, allocations: 62.5 kB / 0.747 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.004396, allocations: 0 / 0.747 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.283e-06/0.004398, allocations: 0 / 0.747 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.004412, allocations: 3.938 kB / 0.747 GB, free: 1.012 MB / 0.7136 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.0004552/0.004867, allocations: 289.6 kB / 0.7473 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.004903, allocations: 12.03 kB / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.004949, allocations: 13.69 kB / 0.7473 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.005104, allocations: 121.7 kB / 0.7474 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.005119, allocations: 384 / 0.7474 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.005142, allocations: 12.38 kB / 0.7474 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.945e-05/0.005211, allocations: 34.25 kB / 0.7475 GB, free: 492 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.005219, allocations: 192 / 0.7475 GB, free: 492 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.005226, allocations: 4.344 kB / 0.7475 GB, free: 492 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.005233, allocations: 4.375 kB / 0.7475 GB, free: 488 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.493e-05/0.005248, allocations: 11.88 kB / 0.7475 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.005467, allocations: 160.2 kB / 0.7476 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.005507, allocations: 22.64 kB / 0.7477 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.138e-05/0.005519, allocations: 8.844 kB / 0.7477 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-06/0.005524, allocations: 4.062 kB / 0.7477 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.921e-05/0.005623, allocations: 64.45 kB / 0.7477 GB, free: 176 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.005624, allocations: 0.6562 kB / 0.7477 GB, free: 176 kB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001315/0.005755, allocations: 49.62 kB / 0.7478 GB, free: 120 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.00579, allocations: 52.38 kB / 0.7478 GB, free: 56 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.00588, allocations: 114.7 kB / 0.7479 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.005901, allocations: 29.7 kB / 0.748 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.005944, allocations: 84.94 kB / 0.7481 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.005958, allocations: 12.48 kB / 0.7481 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.006012, allocations: 34.12 kB / 0.7481 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.006105, allocations: 320.1 kB / 0.7484 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.006165, allocations: 45.69 kB / 0.7484 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.006226, allocations: 68.27 kB / 0.7485 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.006302, allocations: 70.16 kB / 0.7486 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.006306, allocations: 4 kB / 0.7486 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001633/0.006469, allocations: 149.6 kB / 0.7487 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.006519, allocations: 42.23 kB / 0.7488 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.006524, allocations: 0 / 0.7488 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.006538, allocations: 1.188 kB / 0.7488 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.935e-05/0.006557, allocations: 4.875 kB / 0.7488 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.006561, allocations: 0 / 0.7488 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.006707, allocations: 21.22 kB / 0.7488 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.006724, allocations: 4.906 kB / 0.7488 GB, free: 14.98 MB / 0.7292 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/0.006808, allocations: 124.6 kB / 0.7489 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.00682, allocations: 8.516 kB / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.006845, allocations: 12.53 kB / 0.7489 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006847, allocations: 0 / 0.7489 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.006849, allocations: 1.234 kB / 0.7489 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006852, allocations: 3.938 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.218e-05/0.006924, allocations: 65.91 kB / 0.749 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.006928, allocations: 5.703 kB / 0.749 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-06/0.006934, allocations: 0 / 0.749 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.006942, allocations: 4 kB / 0.749 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006943, allocations: 0 / 0.749 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.006948, allocations: 3.938 kB / 0.749 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.00695, allocations: 4.719 kB / 0.749 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.006952, allocations: 0 / 0.749 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.163e-05/0.007033, allocations: 67.11 kB / 0.7491 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.007046, allocations: 7.984 kB / 0.7491 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.007061, allocations: 3.188 kB / 0.7491 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.007083, allocations: 3.938 kB / 0.7491 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.007087, allocations: 0 / 0.7491 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.007108, allocations: 12.84 kB / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.007108, allocations: 0 / 0.7491 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001856/0.007294, allocations: 23.94 kB / 0.7491 GB, free: 14.59 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.00744, allocations: 80.42 kB / 0.7492 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.007614, allocations: 137.7 kB / 0.7493 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.007618, allocations: 4 kB / 0.7493 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.007643, allocations: 20.77 kB / 0.7494 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.007803, allocations: 63.95 kB / 0.7494 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.008312, allocations: 136.5 kB / 0.7496 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.417e-05/0.008346, allocations: 59.34 kB / 0.7496 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.008369, allocations: 4.906 kB / 0.7496 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.00845, allocations: 59.36 kB / 0.7497 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.008451, allocations: 0.9688 kB / 0.7497 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.003566/0.01202, allocations: 1.294 MB / 0.7509 GB, free: 12.73 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.083506115712225]