Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.0007746/0.0007746, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0008364/0.0008364, allocations: 169.9 kB / 23.21 MB, free: 1.359 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.8714/0.8714, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5389/0.5389, allocations: 114 MB / 373.9 MB, free: 8.738 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.599e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001075/0.001091, allocations: 0.6355 MB / 0.5548 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.002177, allocations: 1.209 MB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.002213, allocations: 0 / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.002239, allocations: 3.938 kB / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.743e-05/0.002296, allocations: 3.938 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.002754, allocations: 220.7 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.002914, allocations: 179.6 kB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.059e-05/0.002994, allocations: 8 kB / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.003131, allocations: 95.91 kB / 0.5565 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.003224, allocations: 51.84 kB / 0.5565 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.003247, allocations: 16 kB / 0.5566 GB, free: 368 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.003301, allocations: 20 kB / 0.5566 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.00332, allocations: 11.98 kB / 0.5566 GB, free: 336 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.003373, allocations: 55.89 kB / 0.5566 GB, free: 280 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.00354, allocations: 179.6 kB / 0.5568 GB, free: 100 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003542, allocations: 0 / 0.5568 GB, free: 100 kB / 0.5105 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003542, allocations: 11.88 kB / 0.5568 GB, free: 88 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.003546, allocations: 0 / 0.5568 GB, free: 88 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.0003684/0.003914, allocations: 353.5 kB / 0.5572 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.00395, allocations: 12.62 kB / 0.5572 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.476e-05/0.003975, allocations: 34.73 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.004016, allocations: 12.89 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.004088, allocations: 113.7 kB / 0.5573 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.0041, allocations: 4.375 kB / 0.5573 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.004119, allocations: 12.38 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.142e-05/0.00421, allocations: 54.23 kB / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.004217, allocations: 192 / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.004226, allocations: 4.375 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.004231, allocations: 4.125 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.004264, allocations: 15.94 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.00461, allocations: 295.9 kB / 0.5577 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.174e-05/0.004672, allocations: 30.58 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.004693, allocations: 12.94 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.004701, allocations: 3.938 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.004821, allocations: 91.25 kB / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.004822, allocations: 0 / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0001942/0.005016, allocations: 101.7 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.00505, allocations: 55.41 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.005117, allocations: 121.8 kB / 0.5581 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.005211, allocations: 29.7 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.005255, allocations: 92.14 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.005269, allocations: 19.83 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.005325, allocations: 49.69 kB / 0.5583 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.005399, allocations: 314.8 kB / 0.5586 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.005509, allocations: 123.7 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.005623, allocations: 155.7 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.005742, allocations: 159.7 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.005745, allocations: 3.938 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002845/0.00603, allocations: 328.2 kB / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.006066, allocations: 67.39 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.006072, allocations: 0 / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.006083, allocations: 4 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.497e-05/0.006098, allocations: 4.062 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.006104, allocations: 8 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.006286, allocations: 51.94 kB / 0.5594 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.006306, allocations: 11.98 kB / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.66e-05/0.006372, allocations: 125.7 kB / 0.5596 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.00638, allocations: 11.89 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.006401, allocations: 16.41 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006403, allocations: 4 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.006408, allocations: 0 / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006411, allocations: 4 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.837e-05/0.006489, allocations: 140.7 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006491, allocations: 3.984 kB / 0.5597 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-06/0.006495, allocations: 0 / 0.5597 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006496, allocations: 0 / 0.5597 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.006502, allocations: 0 / 0.5597 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.006508, allocations: 12 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.006509, allocations: 0 / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.637e-05/0.006605, allocations: 117.3 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.006611, allocations: 7.953 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.006621, allocations: 4 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.006633, allocations: 4 kB / 0.5599 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.006662, allocations: 7.984 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.006665, allocations: 3.938 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.311e-05/0.006698, allocations: 91.27 kB / 0.56 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006698, allocations: 0 / 0.56 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000162/0.00686, allocations: 32 kB / 0.56 GB, free: 12.43 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000286/0.007146, allocations: 0.6554 MB / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.007385, allocations: 278.1 kB / 0.5609 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.007388, allocations: 0 / 0.5609 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.007418, allocations: 23.98 kB / 0.5609 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.007581, allocations: 15.98 kB / 0.561 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.009037, allocations: 1.962 MB / 0.5629 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.009077, allocations: 79.03 kB / 0.563 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.009099, allocations: 4 kB / 0.563 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.009131, allocations: 24.48 kB / 0.563 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/0.009131, allocations: 0 / 0.563 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.0258, allocations: 3.758 MB / 0.5666 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.743, allocations: 7.312 kB / 0.5667 GB, free: 5.57 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.225329675711691] Failed to read output from testmodel.py, exit status != 0: 6.82346383202821 6.838278841 6.831384861 Calling exit ...