Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.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.001743/0.001743, allocations: 107.7 kB / 16.45 MB, free: 6.5 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.002227/0.002227, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.495/1.495, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9438/0.9438, allocations: 145 MB / 453.8 MB, free: 0.6836 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002/0.002, allocations: 66.41 kB / 0.628 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1877, allocations: 87.82 MB / 0.7138 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004717/0.1924, allocations: 3.119 MB / 0.7168 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003499/0.1959, allocations: 2.185 MB / 0.7189 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.1962, allocations: 11.94 kB / 0.7189 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.1966, allocations: 103 kB / 0.719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.1972, allocations: 246.7 kB / 0.7193 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/0.198, allocations: 373.1 kB / 0.7196 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000729/0.1987, allocations: 0.6716 MB / 0.7203 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003707/0.1991, allocations: 207.7 kB / 0.7205 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.1993, allocations: 250.9 kB / 0.7207 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.1998, allocations: 290.5 kB / 0.721 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.1999, allocations: 64 kB / 0.7211 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.2002, allocations: 167.9 kB / 0.7212 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.2003, allocations: 167.4 kB / 0.7214 GB, free: 11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.2006, allocations: 294.2 kB / 0.7217 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008892/0.2015, allocations: 0.8054 MB / 0.7225 GB, free: 9.902 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2015, allocations: 0 / 0.7225 GB, free: 9.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2015, allocations: 0 / 0.7225 GB, free: 9.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.2015, allocations: 0 / 0.7225 GB, free: 9.902 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001363/0.2029, allocations: 0.9261 MB / 0.7234 GB, free: 8.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2029, allocations: 8.031 kB / 0.7234 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.17e-05/0.203, allocations: 78.7 kB / 0.7234 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.2033, allocations: 80.47 kB / 0.7235 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.204, allocations: 492.3 kB / 0.724 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.204, allocations: 29.38 kB / 0.724 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.2041, allocations: 43.88 kB / 0.7241 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.2048, allocations: 420.9 kB / 0.7245 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2048, allocations: 0 / 0.7245 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.2048, allocations: 16 kB / 0.7245 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2048, allocations: 8 kB / 0.7245 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/0.2054, allocations: 310.4 kB / 0.7248 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.2072, allocations: 1.257 MB / 0.726 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.2078, allocations: 318.3 kB / 0.7263 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.208, allocations: 106.2 kB / 0.7264 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.2081, allocations: 12.23 kB / 0.7264 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.2081, allocations: 38.8 kB / 0.7265 GB, free: 5.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.2081, allocations: 0 / 0.7265 GB, free: 5.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008655/0.209, allocations: 395.3 kB / 0.7268 GB, free: 5.199 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.2091, allocations: 187.9 kB / 0.727 GB, free: 4.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000874/0.21, allocations: 0.6122 MB / 0.7276 GB, free: 4.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.21, allocations: 41.7 kB / 0.7277 GB, free: 4.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.2102, allocations: 280.5 kB / 0.7279 GB, free: 4.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2103, allocations: 115 kB / 0.728 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2104, allocations: 57.98 kB / 0.7281 GB, free: 3.848 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2106, allocations: 366.8 kB / 0.7284 GB, free: 3.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.2108, allocations: 101.7 kB / 0.7285 GB, free: 3.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.2111, allocations: 162.7 kB / 0.7287 GB, free: 3.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.2115, allocations: 228.2 kB / 0.7289 GB, free: 2.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2115, allocations: 3.938 kB / 0.7289 GB, free: 2.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005954/0.2121, allocations: 325.2 kB / 0.7292 GB, free: 2.633 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2121, allocations: 10.28 kB / 0.7292 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2121, allocations: 0 / 0.7292 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2121, allocations: 4.312 kB / 0.7292 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2124, allocations: 55.91 kB / 0.7293 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2124, allocations: 4 kB / 0.7293 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.2126, allocations: 39.77 kB / 0.7293 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.2126, allocations: 15.98 kB / 0.7293 GB, free: 2.508 MB / 0.545 GB Warning: Assuming fixed start value for the following 2 variables: scenarioAutre.Conso:VARIABLE(flow=false fixed = true ) \"Consumption en L\" type: Real scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) \"Hot water consumption at 40°C [L]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.booleanToReal.u,scenarioRT.greaterThreshold3.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0003585/0.213, allocations: 209.7 kB / 0.7295 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.2131, allocations: 55.67 kB / 0.7296 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006842/0.2138, allocations: 350.6 kB / 0.7299 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2138, allocations: 4 kB / 0.7299 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2138, allocations: 3.984 kB / 0.7299 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2138, allocations: 0 / 0.7299 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.2145, allocations: 0.5439 MB / 0.7305 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2145, allocations: 0 / 0.7305 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.2147, allocations: 59.91 kB / 0.7305 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2147, allocations: 0 / 0.7305 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.2147, allocations: 8 kB / 0.7305 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2147, allocations: 0 / 0.7305 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2147, allocations: 3.938 kB / 0.7305 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009278/0.2157, allocations: 0.6193 MB / 0.7311 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.2158, allocations: 152.7 kB / 0.7313 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.2159, allocations: 7.984 kB / 0.7313 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.2161, allocations: 23.92 kB / 0.7313 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.2162, allocations: 23.97 kB / 0.7313 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.2162, allocations: 12 kB / 0.7314 GB, free: 352 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006029/0.2168, allocations: 450.8 kB / 0.7318 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2168, allocations: 0 / 0.7318 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004674/0.2173, allocations: 107.7 kB / 0.7319 GB, free: 15.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002712/0.22, allocations: 1.537 MB / 0.7334 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.2206, allocations: 235.8 kB / 0.7336 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2206, allocations: 0 / 0.7336 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.2208, allocations: 135.8 kB / 0.7337 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.2214, allocations: 84.91 kB / 0.7338 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.2271, allocations: 4.043 MB / 0.7378 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.2276, allocations: 0.8669 MB / 0.7386 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002702/0.2279, allocations: 95.34 kB / 0.7387 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.2283, allocations: 219.3 kB / 0.7389 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.2283, allocations: 0 / 0.7389 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3637/0.5919, allocations: 10.57 MB / 0.7492 GB, free: 32.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.816/9.408, allocations: 3.016 kB / 0.7492 GB, free: 32.55 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.28626474099292] Failed to read output from testmodel.py, exit status != 0: 9.59053370100446 9.609717227 9.404078868 Calling exit ...