Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.001445/0.001445, allocations: 115 kB / 19.7 MB, free: 2.043 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.001566/0.001566, allocations: 225.4 kB / 23.01 MB, free: 4.945 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.9846/0.9846, allocations: 150 MB / 463.2 MB, free: 10.48 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.BooleanExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",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.002571/0.002571, allocations: 74.61 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2102, allocations: 89.17 MB / 0.7284 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002326/0.2125, allocations: 1.015 MB / 0.7293 GB, free: 228 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.2146, allocations: 1.517 MB / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.751e-05/0.2146, allocations: 0 / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.2148, allocations: 27.67 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.281e-05/0.2149, allocations: 43.59 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.216, allocations: 473.6 kB / 0.7314 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005689/0.2166, allocations: 0.5076 MB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.2168, allocations: 88.11 kB / 0.7319 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.2171, allocations: 215.5 kB / 0.7321 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.2174, allocations: 194.8 kB / 0.7323 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.009e-05/0.2174, allocations: 48 kB / 0.7324 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.2176, allocations: 63.97 kB / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.557e-05/0.2177, allocations: 67.78 kB / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.2179, allocations: 187.3 kB / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.2184, allocations: 0.5178 MB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2184, allocations: 0 / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2184, allocations: 0 / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.2185, allocations: 8 kB / 0.7332 GB, free: 12.29 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008975/0.2194, allocations: 0.629 MB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2194, allocations: 8.031 kB / 0.7338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.789e-05/0.2194, allocations: 50.73 kB / 0.7339 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.2195, allocations: 40.75 kB / 0.7339 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009171/0.2205, allocations: 302.4 kB / 0.7342 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.2205, allocations: 20.75 kB / 0.7342 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.2206, allocations: 32.38 kB / 0.7342 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.221, allocations: 232.9 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.221, allocations: 0 / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.221, allocations: 11.98 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.221, allocations: 4 kB / 0.7345 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.2212, allocations: 147.3 kB / 0.7346 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.2225, allocations: 0.7255 MB / 0.7353 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.2228, allocations: 182.4 kB / 0.7355 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.2231, allocations: 200.7 kB / 0.7357 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2231, allocations: 0 / 0.7357 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/0.2234, allocations: 244.2 kB / 0.7359 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.322e-06/0.2234, allocations: 3.938 kB / 0.7359 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0007125/0.2242, allocations: 423.2 kB / 0.7363 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.2242, allocations: 106.8 kB / 0.7364 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.2245, allocations: 289.7 kB / 0.7367 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.2246, allocations: 41.7 kB / 0.7367 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2247, allocations: 164.8 kB / 0.7369 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.2248, allocations: 59.58 kB / 0.737 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.225, allocations: 141.6 kB / 0.7371 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2252, allocations: 346.8 kB / 0.7374 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.2255, allocations: 196.7 kB / 0.7376 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.226, allocations: 327.6 kB / 0.7379 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.2267, allocations: 0.5232 MB / 0.7384 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2267, allocations: 3.938 kB / 0.7384 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001101/0.2278, allocations: 0.7292 MB / 0.7391 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-05/0.2279, allocations: 122.8 kB / 0.7393 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2279, allocations: 4 kB / 0.7393 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2279, allocations: 4 kB / 0.7393 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.228, allocations: 31.86 kB / 0.7393 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.228, allocations: 11.98 kB / 0.7393 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.2286, allocations: 123.7 kB / 0.7394 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.2287, allocations: 67.86 kB / 0.7395 GB, free: 5.406 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002145/0.2289, allocations: 193.9 kB / 0.7397 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.229, allocations: 31.81 kB / 0.7397 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.2295, allocations: 352.4 kB / 0.7401 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2295, allocations: 0 / 0.7401 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2295, allocations: 4 kB / 0.7401 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.2295, allocations: 3.984 kB / 0.7401 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009035/0.2304, allocations: 0.689 MB / 0.7407 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2304, allocations: 0 / 0.7407 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.2305, allocations: 12 kB / 0.7407 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2305, allocations: 0 / 0.7407 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.2305, allocations: 19.86 kB / 0.7408 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2305, allocations: 0 / 0.7408 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2306, allocations: 0 / 0.7408 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.2311, allocations: 424.8 kB / 0.7412 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.2311, allocations: 27.75 kB / 0.7412 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.2311, allocations: 15.88 kB / 0.7412 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2313, allocations: 11.94 kB / 0.7412 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.2313, allocations: 23.95 kB / 0.7412 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2313, allocations: 12 kB / 0.7413 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001917/0.2315, allocations: 191.1 kB / 0.7414 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2315, allocations: 0 / 0.7414 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004017/0.2319, allocations: 87.98 kB / 0.7415 GB, free: 3.258 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008947/0.2328, allocations: 0.9757 MB / 0.7425 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008862/0.2337, allocations: 0.5997 MB / 0.7431 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2337, allocations: 3.984 kB / 0.7431 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.2339, allocations: 123.8 kB / 0.7432 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.2344, allocations: 59.28 kB / 0.7432 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/0.2394, allocations: 3.608 MB / 0.7468 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.2399, allocations: 0.7726 MB / 0.7475 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.2401, allocations: 62.92 kB / 0.7476 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2402, allocations: 103.3 kB / 0.7477 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.2402, allocations: 0 / 0.7477 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.2776, allocations: 8.17 MB / 0.7557 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.39, allocations: 7.172 kB / 0.7557 GB, free: 4.703 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_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_BooleanExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.727278592999937] Failed to read output from testmodel.py, exit status != 0: 11.500552158999199 11.859030939 11.637831757 Calling exit ...