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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001323, allocations: 110.6 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 1.072/1.072, allocations: 143.3 MB / 440.5 MB, free: 11.27 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 72.72 kB / 0.6038 GB, free: 11.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1985, allocations: 82.03 MB / 0.6839 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005118/0.2037, allocations: 3.047 MB / 0.6869 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.2071, allocations: 1.974 MB / 0.6888 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.2075, allocations: 11.94 kB / 0.6888 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.208, allocations: 91.11 kB / 0.6889 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005837/0.2086, allocations: 186.9 kB / 0.6891 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.2095, allocations: 375.9 kB / 0.6894 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.2103, allocations: 0.6169 MB / 0.69 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.2108, allocations: 283.7 kB / 0.6903 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.211, allocations: 231 kB / 0.6905 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.2115, allocations: 260.6 kB / 0.6908 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.2116, allocations: 56 kB / 0.6908 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.2119, allocations: 116 kB / 0.6909 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.2121, allocations: 147.5 kB / 0.6911 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.2123, allocations: 266.4 kB / 0.6913 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009359/0.2133, allocations: 0.7196 MB / 0.692 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2133, allocations: 0 / 0.692 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2133, allocations: 0 / 0.692 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2133, allocations: 0 / 0.692 GB, free: 1.352 MB / 0.5137 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.0014/0.2147, allocations: 0.8796 MB / 0.6929 GB, free: 432 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2148, allocations: 12.03 kB / 0.6929 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.764e-05/0.2149, allocations: 74.7 kB / 0.693 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.2152, allocations: 76.5 kB / 0.693 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000748/0.216, allocations: 474.1 kB / 0.6935 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.216, allocations: 33.38 kB / 0.6935 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.2161, allocations: 39.94 kB / 0.6936 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.2169, allocations: 412.9 kB / 0.694 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2169, allocations: 0 / 0.694 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.2169, allocations: 19.98 kB / 0.694 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.217, allocations: 8 kB / 0.694 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.2176, allocations: 310.4 kB / 0.6943 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.2193, allocations: 1.21 MB / 0.6955 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.2199, allocations: 339.4 kB / 0.6958 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.2202, allocations: 122.2 kB / 0.6959 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.2202, allocations: 12.2 kB / 0.6959 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.2203, allocations: 38.8 kB / 0.696 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.2203, allocations: 3.938 kB / 0.696 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0008881/0.2212, allocations: 400.4 kB / 0.6963 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.2213, allocations: 187.9 kB / 0.6965 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/0.2221, allocations: 0.5605 MB / 0.6971 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.2222, allocations: 33.7 kB / 0.6971 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.2225, allocations: 264.6 kB / 0.6973 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.2226, allocations: 111.1 kB / 0.6975 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.2227, allocations: 57.97 kB / 0.6975 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.2229, allocations: 366.8 kB / 0.6979 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.2231, allocations: 105.6 kB / 0.698 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.2234, allocations: 154.8 kB / 0.6981 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.2239, allocations: 227.4 kB / 0.6983 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2239, allocations: 3.938 kB / 0.6983 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005664/0.2244, allocations: 317.2 kB / 0.6986 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2245, allocations: 6.656 kB / 0.6986 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2245, allocations: 4 kB / 0.6986 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2245, allocations: 0 / 0.6986 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2247, allocations: 55.91 kB / 0.6987 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2247, allocations: 4.047 kB / 0.6987 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2249, allocations: 43.77 kB / 0.6987 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.225, allocations: 16.3 kB / 0.6988 GB, free: 10.12 MB / 0.5294 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.0003251/0.2253, allocations: 202.6 kB / 0.6989 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2254, allocations: 55.62 kB / 0.699 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.226, allocations: 347.4 kB / 0.6993 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2261, allocations: 8 kB / 0.6993 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2261, allocations: 0 / 0.6993 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2261, allocations: 3.984 kB / 0.6993 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.2267, allocations: 0.5205 MB / 0.6999 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2267, allocations: 0 / 0.6999 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.227, allocations: 51.92 kB / 0.6999 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.227, allocations: 4 kB / 0.6999 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.227, allocations: 7.984 kB / 0.6999 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.227, allocations: 4 kB / 0.6999 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.227, allocations: 0 / 0.6999 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008944/0.2279, allocations: 0.6198 MB / 0.7005 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2281, allocations: 132.7 kB / 0.7006 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.2281, allocations: 11.94 kB / 0.7007 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.2284, allocations: 23.97 kB / 0.7007 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.2285, allocations: 27.97 kB / 0.7007 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2285, allocations: 8.062 kB / 0.7007 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000544/0.229, allocations: 410.8 kB / 0.7011 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.229, allocations: 0 / 0.7011 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004355/0.2295, allocations: 95.7 kB / 0.7012 GB, free: 7.523 MB / 0.5294 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.002496/0.232, allocations: 1.465 MB / 0.7026 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005408/0.2325, allocations: 243.8 kB / 0.7029 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2325, allocations: 4 kB / 0.7029 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.2328, allocations: 144.3 kB / 0.703 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.2334, allocations: 86.47 kB / 0.7031 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/0.239, allocations: 3.85 MB / 0.7068 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.2395, allocations: 0.863 MB / 0.7077 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.2398, allocations: 99.44 kB / 0.7078 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.2401, allocations: 203.3 kB / 0.708 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.2401, allocations: 4 kB / 0.708 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/0.2881, allocations: 9.573 MB / 0.7173 GB, free: 7.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.306/9.594, allocations: 9.891 kB / 0.7173 GB, free: 7.152 MB / 0.545 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: 16.051446715951897] Failed to read output from testmodel.py, exit status != 0: 9.755874722031876 9.771577661 9.555655169 Calling exit ...