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.001292/0.001292, allocations: 97.11 kB / 19.74 MB, free: 1.871 MB / 14.72 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.001416/0.001416, allocations: 210.8 kB / 23.04 MB, free: 5.008 MB / 14.72 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 1.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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.9641/0.9641, allocations: 150 MB / 463.2 MB, free: 10.19 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 62.16 kB / 0.6413 GB, free: 9.84 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1635, allocations: 89.19 MB / 0.7284 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001868/0.1653, allocations: 0.6812 MB / 0.729 GB, free: 52 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.167, allocations: 1.26 MB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.1671, allocations: 4 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.174e-05/0.1672, allocations: 19.73 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.1672, allocations: 15.92 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.1679, allocations: 237.1 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000329/0.1683, allocations: 247.6 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1684, allocations: 35.92 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1686, allocations: 103.8 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1687, allocations: 75.77 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.1688, allocations: 20 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1689, allocations: 35.92 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.169, allocations: 35.91 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1691, allocations: 75.7 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.1694, allocations: 239.2 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1694, allocations: 0 / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1694, allocations: 0 / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1694, allocations: 0 / 0.7314 GB, free: 13.66 MB / 0.5606 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.0006179/0.17, allocations: 437.1 kB / 0.7318 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.17, allocations: 12.03 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.1701, allocations: 42.73 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.1704, allocations: 56.81 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.1709, allocations: 198.4 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.171, allocations: 12.36 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.171, allocations: 16.38 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.1712, allocations: 137.3 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1712, allocations: 4 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1713, allocations: 0 / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1713, allocations: 7.938 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.1714, allocations: 51.91 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.172, allocations: 0.6018 MB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.1721, allocations: 45.14 kB / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.1721, allocations: 17.78 kB / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1722, allocations: 3.938 kB / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.1724, allocations: 97.03 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1724, allocations: 0 / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002596/0.1726, allocations: 109.5 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.1727, allocations: 81.11 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1728, allocations: 173.5 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1729, allocations: 29.7 kB / 0.7334 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.173, allocations: 120 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.173, allocations: 23.88 kB / 0.7335 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1731, allocations: 61.67 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.1732, allocations: 318.8 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.1734, allocations: 115.4 kB / 0.734 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.1736, allocations: 235.3 kB / 0.7342 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.1739, allocations: 170.1 kB / 0.7344 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.1739, allocations: 3.984 kB / 0.7344 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004969/0.1744, allocations: 340.1 kB / 0.7347 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.1744, allocations: 63.41 kB / 0.7348 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1744, allocations: 0 / 0.7348 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1744, allocations: 4 kB / 0.7348 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.019e-05/0.1745, allocations: 3.984 kB / 0.7348 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1745, allocations: 7.938 kB / 0.7348 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.1748, allocations: 56.16 kB / 0.7349 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.1748, allocations: 12 kB / 0.7349 GB, free: 9.664 MB / 0.5606 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 0.000144/0.175, allocations: 137.8 kB / 0.735 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.175, allocations: 15.84 kB / 0.735 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.1751, allocations: 12.34 kB / 0.735 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1751, allocations: 4 kB / 0.735 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1751, allocations: 0 / 0.735 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1751, allocations: 0 / 0.735 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1752, allocations: 180.6 kB / 0.7352 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1752, allocations: 4 kB / 0.7352 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-06/0.1753, allocations: 3.938 kB / 0.7352 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1753, allocations: 0 / 0.7352 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1753, allocations: 12 kB / 0.7352 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1753, allocations: 3.938 kB / 0.7352 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1753, allocations: 0 / 0.7352 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.1754, allocations: 113.9 kB / 0.7353 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.1754, allocations: 11.91 kB / 0.7353 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1755, allocations: 4 kB / 0.7354 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.491e-05/0.1755, allocations: 4.375 kB / 0.7354 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.1755, allocations: 3.984 kB / 0.7354 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1755, allocations: 8 kB / 0.7354 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.31e-05/0.1756, allocations: 119.2 kB / 0.7355 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1756, allocations: 0 / 0.7355 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002624/0.1759, allocations: 35.98 kB / 0.7355 GB, free: 8.922 MB / 0.5606 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.0004935/0.1764, allocations: 0.6709 MB / 0.7362 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.1768, allocations: 274 kB / 0.7364 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1768, allocations: 0 / 0.7364 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.1768, allocations: 12.5 kB / 0.7364 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.177, allocations: 34.05 kB / 0.7365 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.1795, allocations: 2.164 MB / 0.7386 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.644e-05/0.1796, allocations: 93.77 kB / 0.7387 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.1796, allocations: 16.97 kB / 0.7387 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.1797, allocations: 43.42 kB / 0.7387 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.1797, allocations: 0 / 0.7387 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.2103, allocations: 4.237 MB / 0.7429 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.35, allocations: 6.312 kB / 0.7429 GB, free: 1.309 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.108177258865908] Failed to read output from testmodel.py, exit status != 0: 11.45466069295071 11.471620932 11.298867418 Calling exit ...