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.001369/0.001369, allocations: 109.5 kB / 17.12 MB, free: 5.926 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.001403/0.001403, allocations: 204 kB / 20.09 MB, free: 2.977 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.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9798/0.9798, allocations: 150 MB / 459.5 MB, free: 5.34 MB / 350.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.002205/0.002205, allocations: 72.23 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.171, allocations: 89.14 MB / 0.7232 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002431/0.1735, allocations: 0.6857 MB / 0.7238 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1754, allocations: 1.286 MB / 0.7251 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.1755, allocations: 7.938 kB / 0.7251 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.1756, allocations: 11.88 kB / 0.7251 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.707e-05/0.1756, allocations: 23.78 kB / 0.7251 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008094/0.1765, allocations: 236.6 kB / 0.7254 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.1769, allocations: 239.7 kB / 0.7256 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.177, allocations: 31.91 kB / 0.7256 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.1772, allocations: 103.8 kB / 0.7257 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1775, allocations: 91.03 kB / 0.7258 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.1775, allocations: 16 kB / 0.7258 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1777, allocations: 43.92 kB / 0.7259 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.1777, allocations: 43.83 kB / 0.7259 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1779, allocations: 83.7 kB / 0.726 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.1783, allocations: 235.2 kB / 0.7262 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1783, allocations: 4 kB / 0.7262 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1783, allocations: 0 / 0.7262 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1783, allocations: 0 / 0.7262 GB, free: 0.9922 MB / 0.5294 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.0008389/0.1792, allocations: 0.4982 MB / 0.7267 GB, free: 440 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1792, allocations: 11.97 kB / 0.7267 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.1793, allocations: 42.73 kB / 0.7268 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/0.1797, allocations: 64.72 kB / 0.7268 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006414/0.1803, allocations: 260.2 kB / 0.7271 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1803, allocations: 12.38 kB / 0.7271 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.1804, allocations: 12.42 kB / 0.7271 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.1807, allocations: 133.3 kB / 0.7272 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1807, allocations: 0 / 0.7272 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1807, allocations: 8 kB / 0.7272 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1807, allocations: 4 kB / 0.7272 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1808, allocations: 51.91 kB / 0.7273 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.1816, allocations: 0.6612 MB / 0.7279 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.1817, allocations: 45.08 kB / 0.728 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.1818, allocations: 17.84 kB / 0.728 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-06/0.1818, allocations: 3.938 kB / 0.728 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.182, allocations: 93.03 kB / 0.7281 GB, free: 14.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.182, allocations: 0 / 0.7281 GB, free: 14.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0002649/0.1822, allocations: 105.5 kB / 0.7282 GB, free: 14.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.1823, allocations: 81.11 kB / 0.7282 GB, free: 14.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1825, allocations: 171 kB / 0.7284 GB, free: 14.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.1825, allocations: 33.7 kB / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1827, allocations: 124 kB / 0.7286 GB, free: 14.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.1827, allocations: 7.953 kB / 0.7286 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.1828, allocations: 61.67 kB / 0.7286 GB, free: 14.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1829, allocations: 322.8 kB / 0.7289 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1831, allocations: 55.95 kB / 0.729 GB, free: 13.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.1832, allocations: 112.5 kB / 0.7291 GB, free: 13.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.1835, allocations: 170.2 kB / 0.7293 GB, free: 13.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1835, allocations: 8 kB / 0.7293 GB, free: 13.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000498/0.184, allocations: 281 kB / 0.7295 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/0.184, allocations: 60.81 kB / 0.7296 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.184, allocations: 7.984 kB / 0.7296 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1841, allocations: 7.922 kB / 0.7296 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.436e-05/0.1841, allocations: 7.938 kB / 0.7296 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1841, allocations: 4 kB / 0.7296 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.1845, allocations: 60.12 kB / 0.7297 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.1845, allocations: 11.98 kB / 0.7297 GB, free: 13.04 MB / 0.545 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.0001679/0.1847, allocations: 137.8 kB / 0.7298 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.1847, allocations: 15.84 kB / 0.7298 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.1847, allocations: 12.25 kB / 0.7298 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1847, allocations: 0 / 0.7298 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1848, allocations: 96 / 0.7298 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1848, allocations: 7.938 kB / 0.7299 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.185, allocations: 213.5 kB / 0.7301 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.185, allocations: 0 / 0.7301 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.285e-05/0.185, allocations: 7.922 kB / 0.7301 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.185, allocations: 4 kB / 0.7301 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.185, allocations: 0 / 0.7301 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.185, allocations: 0 / 0.7301 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.185, allocations: 0 / 0.7301 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.1852, allocations: 117.9 kB / 0.7302 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.1853, allocations: 89.02 kB / 0.7303 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1853, allocations: 4 kB / 0.7303 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.1853, allocations: 0 / 0.7303 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1853, allocations: 7.984 kB / 0.7303 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1853, allocations: 4 kB / 0.7303 GB, free: 12.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001102/0.1854, allocations: 115.2 kB / 0.7304 GB, free: 12.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1854, allocations: 3.938 kB / 0.7304 GB, free: 12.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002787/0.1857, allocations: 39.94 kB / 0.7304 GB, free: 12.18 MB / 0.545 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.0005333/0.1863, allocations: 0.6601 MB / 0.7311 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.1866, allocations: 211.1 kB / 0.7313 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1866, allocations: 64 / 0.7313 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.1867, allocations: 20 kB / 0.7313 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1869, allocations: 18.05 kB / 0.7313 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.1895, allocations: 1.926 MB / 0.7332 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1899, allocations: 0.708 MB / 0.7339 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.064e-05/0.19, allocations: 16.81 kB / 0.7339 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.19, allocations: 39.42 kB / 0.7339 GB, free: 8.355 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.19, allocations: 0 / 0.7339 GB, free: 8.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.2172, allocations: 3.517 MB / 0.7374 GB, free: 4.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/8.555, allocations: 7.922 kB / 0.7374 GB, free: 4.969 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.548017518827692] Failed to read output from testmodel.py, exit status != 0: 8.625201440881938 8.645082698 8.463104061 Calling exit ...