Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007292/0.0007292, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007661/0.0007661, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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.862/0.862, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5467/0.5467, allocations: 114 MB / 374.7 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5554 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.062e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001105/0.001126, allocations: 0.6148 MB / 0.556 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002192, allocations: 1.127 MB / 0.5571 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.002235, allocations: 0 / 0.5571 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.358e-05/0.002329, allocations: 7.938 kB / 0.5571 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.033e-05/0.002349, allocations: 3.938 kB / 0.5571 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.002724, allocations: 127 kB / 0.5573 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.002851, allocations: 95.81 kB / 0.5573 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.00293, allocations: 3.984 kB / 0.5573 GB, free: 272 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.002992, allocations: 43.97 kB / 0.5574 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.003078, allocations: 27.95 kB / 0.5574 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.003097, allocations: 8 kB / 0.5574 GB, free: 192 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.279e-05/0.00315, allocations: 19.98 kB / 0.5574 GB, free: 172 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.003205, allocations: 15.92 kB / 0.5575 GB, free: 156 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.003249, allocations: 19.98 kB / 0.5575 GB, free: 136 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.003394, allocations: 115.6 kB / 0.5576 GB, free: 20 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.003396, allocations: 4 kB / 0.5576 GB, free: 16 kB / 0.5105 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003396, allocations: 0 / 0.5576 GB, free: 16 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.0034, allocations: 0 / 0.5576 GB, free: 16 kB / 0.5105 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.0003788/0.003779, allocations: 304 kB / 0.5579 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.003816, allocations: 8.031 kB / 0.5579 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.003856, allocations: 4.938 kB / 0.5579 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.003989, allocations: 129.7 kB / 0.558 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004, allocations: 4.375 kB / 0.558 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.004015, allocations: 4.375 kB / 0.558 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.437e-05/0.004099, allocations: 42.25 kB / 0.5581 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.004108, allocations: 8.172 kB / 0.5581 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004118, allocations: 8.375 kB / 0.5581 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.004123, allocations: 384 / 0.5581 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.004147, allocations: 11.88 kB / 0.5581 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.004394, allocations: 232.6 kB / 0.5583 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.004433, allocations: 18.58 kB / 0.5583 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.058e-05/0.004443, allocations: 4.859 kB / 0.5583 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.00445, allocations: 0 / 0.5583 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.474e-05/0.004545, allocations: 79.27 kB / 0.5584 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.004545, allocations: 0 / 0.5584 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001583/0.004704, allocations: 69.64 kB / 0.5585 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.004734, allocations: 51.41 kB / 0.5585 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.004792, allocations: 109.8 kB / 0.5586 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.004806, allocations: 25.7 kB / 0.5587 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.004845, allocations: 96.02 kB / 0.5587 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.004856, allocations: 15.94 kB / 0.5588 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.004897, allocations: 29.7 kB / 0.5588 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.004967, allocations: 314.8 kB / 0.5591 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.451e-05/0.005032, allocations: 61.67 kB / 0.5591 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.005093, allocations: 76.27 kB / 0.5592 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/0.005162, allocations: 84.27 kB / 0.5593 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005165, allocations: 3.938 kB / 0.5593 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000166/0.005331, allocations: 180.9 kB / 0.5595 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.005356, allocations: 33.7 kB / 0.5595 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005362, allocations: 4 kB / 0.5595 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.005372, allocations: 240 / 0.5595 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.277e-05/0.005385, allocations: 0 / 0.5595 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.005389, allocations: 320 / 0.5595 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.005514, allocations: 36.05 kB / 0.5595 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.005529, allocations: 8 kB / 0.5596 GB, free: 13.76 MB / 0.5261 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 6.916e-05/0.005598, allocations: 113.8 kB / 0.5597 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-06/0.005606, allocations: 15.88 kB / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.005626, allocations: 7.984 kB / 0.5597 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005628, allocations: 0 / 0.5597 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.005632, allocations: 0 / 0.5597 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.005635, allocations: 0 / 0.5597 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.119e-05/0.005706, allocations: 109.3 kB / 0.5598 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005707, allocations: 4 kB / 0.5598 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.005711, allocations: 0 / 0.5598 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.005713, allocations: 3.938 kB / 0.5598 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.00572, allocations: 4 kB / 0.5598 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.005721, allocations: 0 / 0.5598 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.005723, allocations: 3.938 kB / 0.5598 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.394e-05/0.005797, allocations: 73.12 kB / 0.5599 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-06/0.005803, allocations: 7.984 kB / 0.5599 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.005816, allocations: 3.938 kB / 0.5599 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.005823, allocations: 0 / 0.5599 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.005856, allocations: 8 kB / 0.5599 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.005859, allocations: 4 kB / 0.5599 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.005892, allocations: 83.27 kB / 0.56 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.005892, allocations: 3.938 kB / 0.56 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001487/0.00604, allocations: 27.89 kB / 0.56 GB, free: 13.23 MB / 0.5261 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.0001026/0.006143, allocations: 99.19 kB / 0.5601 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.006301, allocations: 141 kB / 0.5602 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006303, allocations: 0 / 0.5602 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.146e-05/0.006324, allocations: 12 kB / 0.5603 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.006477, allocations: 17.5 kB / 0.5603 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.006717, allocations: 158.4 kB / 0.5604 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.472e-05/0.006761, allocations: 63.34 kB / 0.5605 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.006776, allocations: 12.5 kB / 0.5605 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.006777, allocations: 0 / 0.5605 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of Templates: time 0.001754/0.00853, allocations: 0.9192 MB / 0.5614 GB, free: 11.76 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.677132295444608] Failed to read output from testmodel.py, exit status != 0: 0.01335170678794384 0.020855448000000002 0.015859876000000002 Calling exit ...