Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0009421/0.0009421, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0009552/0.0009552, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.9327/0.9327, allocations: 177.2 MB / 203.5 MB, free: 5.73 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.5755/0.5755, allocations: 114 MB / 373.9 MB, free: 8.695 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.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.536e-06/3.536e-06, allocations: 0 / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/3.08e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001623/0.001654, allocations: 0.6909 MB / 0.5549 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.002909, allocations: 1.268 MB / 0.5561 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.002966, allocations: 4 kB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.003087, allocations: 11.81 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.003137, allocations: 23.86 kB / 0.5561 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.003788, allocations: 233.3 kB / 0.5564 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.004061, allocations: 247.6 kB / 0.5566 GB, free: 300 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.004196, allocations: 31.91 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.00436, allocations: 143.8 kB / 0.5568 GB, free: 124 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.004485, allocations: 71.83 kB / 0.5568 GB, free: 52 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.004515, allocations: 16 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.004616, allocations: 39.97 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.501e-05/0.004701, allocations: 43.8 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.004776, allocations: 63.88 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.005047, allocations: 263.3 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.00505, allocations: 0 / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.005051, allocations: 0 / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.005056, allocations: 0 / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005237/0.00558, allocations: 437 kB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.005624, allocations: 12.62 kB / 0.5577 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.005654, allocations: 42.67 kB / 0.5577 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.005931, allocations: 64.8 kB / 0.5578 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.006278, allocations: 193.6 kB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.006295, allocations: 12.38 kB / 0.558 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.006319, allocations: 16.38 kB / 0.558 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.006476, allocations: 137.5 kB / 0.5581 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.006484, allocations: 192 / 0.5581 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.006493, allocations: 384 / 0.5581 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.0065, allocations: 7.938 kB / 0.5581 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.006619, allocations: 51.91 kB / 0.5582 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.007075, allocations: 0.6018 MB / 0.5588 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.007132, allocations: 45.16 kB / 0.5588 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.007148, allocations: 9.781 kB / 0.5588 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.007155, allocations: 8 kB / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.007319, allocations: 93.02 kB / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.00732, allocations: 0 / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002127/0.007533, allocations: 105.5 kB / 0.559 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.007583, allocations: 81.11 kB / 0.5591 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.007708, allocations: 178.1 kB / 0.5593 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.007733, allocations: 33.7 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.007811, allocations: 124 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.007822, allocations: 15.89 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.007897, allocations: 53.69 kB / 0.5595 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.007986, allocations: 326.8 kB / 0.5598 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.008516, allocations: 115.3 kB / 0.5599 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.008639, allocations: 231.3 kB / 0.5601 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.008767, allocations: 174.6 kB / 0.5603 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008769, allocations: 0 / 0.5603 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002824/0.009051, allocations: 332.2 kB / 0.5606 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.009092, allocations: 71.33 kB / 0.5607 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.009097, allocations: 4 kB / 0.5607 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.009109, allocations: 4.25 kB / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.009123, allocations: 4 kB / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.009129, allocations: 7.938 kB / 0.5607 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.009295, allocations: 55.5 kB / 0.5607 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.009315, allocations: 19.98 kB / 0.5608 GB, free: 11.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 8.823e-05/0.009404, allocations: 137.8 kB / 0.5609 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.009416, allocations: 15.91 kB / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.009449, allocations: 16.28 kB / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.009451, allocations: 0 / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.009456, allocations: 4 kB / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.00946, allocations: 3.984 kB / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.009568, allocations: 168.7 kB / 0.5611 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.009571, allocations: 4 kB / 0.5611 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-06/0.009576, allocations: 3.938 kB / 0.5611 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.009578, allocations: 4 kB / 0.5611 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.009586, allocations: 7.938 kB / 0.5611 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009587, allocations: 0 / 0.5611 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009588, allocations: 4 kB / 0.5611 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.009689, allocations: 113.9 kB / 0.5612 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.009698, allocations: 7.953 kB / 0.5612 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.009711, allocations: 7.922 kB / 0.5612 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.009723, allocations: 0 / 0.5612 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.009752, allocations: 4 kB / 0.5612 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.009758, allocations: 7.984 kB / 0.5612 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.009811, allocations: 118.5 kB / 0.5614 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.009811, allocations: 4 kB / 0.5614 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001764/0.009988, allocations: 39.98 kB / 0.5614 GB, free: 10.9 MB / 0.5261 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.y,$whenCondition1,$whenCondition2,booPul1.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 (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.0003032/0.01029, allocations: 0.6638 MB / 0.562 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.01054, allocations: 278 kB / 0.5623 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01054, allocations: 0 / 0.5623 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.01056, allocations: 19.98 kB / 0.5623 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.01075, allocations: 20.94 kB / 0.5624 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.01247, allocations: 2.167 MB / 0.5645 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.46e-05/0.01253, allocations: 101.8 kB / 0.5646 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.01257, allocations: 13.16 kB / 0.5646 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.01261, allocations: 36.48 kB / 0.5646 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of SimCode: time 7.51e-07/0.01261, allocations: 0 / 0.5646 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.03077, allocations: 4.36 MB / 0.5689 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.899, allocations: 4.594 kB / 0.5689 GB, free: 3.188 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.55457997135818] Failed to read output from testmodel.py, exit status != 0: 6.982270499691367 6.994244763 6.986985966 Calling exit ...