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.00127/0.00127, allocations: 108.4 kB / 16.45 MB, free: 6.035 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.001323/0.001323, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.334/1.334, allocations: 225.6 MB / 247.8 MB, free: 13.93 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 0.8547/0.8547, allocations: 145.2 MB / 447.9 MB, free: 6.332 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.001784/0.001784, allocations: 57.97 kB / 0.6199 GB, free: 1.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1543, allocations: 86.65 MB / 0.7045 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004563/0.1588, allocations: 3.061 MB / 0.7075 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.1618, allocations: 1.986 MB / 0.7095 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.162, allocations: 12 kB / 0.7095 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.1623, allocations: 95.05 kB / 0.7096 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.1627, allocations: 186.9 kB / 0.7097 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.1634, allocations: 366.7 kB / 0.7101 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006595/0.1641, allocations: 0.6247 MB / 0.7107 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.1644, allocations: 211.7 kB / 0.7109 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.1647, allocations: 219.1 kB / 0.7111 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.1651, allocations: 270.6 kB / 0.7114 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.1652, allocations: 63.94 kB / 0.7114 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1654, allocations: 108 kB / 0.7115 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1655, allocations: 155.5 kB / 0.7117 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.1657, allocations: 270.4 kB / 0.7119 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.1665, allocations: 0.7196 MB / 0.7126 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1665, allocations: 0 / 0.7126 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1665, allocations: 0 / 0.7126 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.1665, allocations: 0 / 0.7126 GB, free: 2.344 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001225/0.1677, allocations: 0.8796 MB / 0.7135 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1678, allocations: 12.03 kB / 0.7135 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/0.1679, allocations: 74.72 kB / 0.7136 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.1682, allocations: 76.5 kB / 0.7137 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.1688, allocations: 474.1 kB / 0.7141 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.1688, allocations: 25.38 kB / 0.7141 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.1689, allocations: 39.94 kB / 0.7142 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.1695, allocations: 424.9 kB / 0.7146 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1695, allocations: 0 / 0.7146 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.1696, allocations: 16 kB / 0.7146 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.1696, allocations: 12 kB / 0.7146 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.1701, allocations: 302.4 kB / 0.7149 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.1718, allocations: 1.214 MB / 0.7161 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.1723, allocations: 314.7 kB / 0.7164 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.1725, allocations: 114.3 kB / 0.7165 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.1726, allocations: 16.22 kB / 0.7165 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1726, allocations: 34.8 kB / 0.7165 GB, free: 14.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.452e-06/0.1726, allocations: 4 kB / 0.7165 GB, free: 14.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0007979/0.1734, allocations: 390.6 kB / 0.7169 GB, free: 13.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.1735, allocations: 191.9 kB / 0.7171 GB, free: 13.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.1742, allocations: 0.5566 MB / 0.7176 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1743, allocations: 29.7 kB / 0.7177 GB, free: 12.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.1745, allocations: 272.6 kB / 0.7179 GB, free: 12.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.358e-05/0.1746, allocations: 115.1 kB / 0.718 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.1747, allocations: 53.98 kB / 0.7181 GB, free: 12.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1748, allocations: 358.8 kB / 0.7184 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.175, allocations: 109.6 kB / 0.7185 GB, free: 12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1753, allocations: 162.7 kB / 0.7187 GB, free: 11.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.1756, allocations: 222.9 kB / 0.7189 GB, free: 11.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1756, allocations: 3.938 kB / 0.7189 GB, free: 11.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005332/0.1762, allocations: 321.1 kB / 0.7192 GB, free: 11.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1762, allocations: 12 kB / 0.7192 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1762, allocations: 3.938 kB / 0.7192 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1762, allocations: 4 kB / 0.7192 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1764, allocations: 51.91 kB / 0.7193 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1764, allocations: 4 kB / 0.7193 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.1766, allocations: 35.77 kB / 0.7193 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1766, allocations: 12 kB / 0.7193 GB, free: 11.15 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.0003461/0.177, allocations: 216.1 kB / 0.7195 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1771, allocations: 55.62 kB / 0.7196 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.1777, allocations: 347.9 kB / 0.7199 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1777, allocations: 4 kB / 0.7199 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1777, allocations: 4 kB / 0.7199 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1777, allocations: 0 / 0.7199 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.1784, allocations: 0.5205 MB / 0.7204 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1784, allocations: 0 / 0.7204 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.1786, allocations: 55.91 kB / 0.7205 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1786, allocations: 4 kB / 0.7205 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1786, allocations: 8 kB / 0.7205 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1786, allocations: 0 / 0.7205 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1786, allocations: 4 kB / 0.7205 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.1795, allocations: 0.6212 MB / 0.7211 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.1796, allocations: 132.7 kB / 0.7212 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.1797, allocations: 12.19 kB / 0.7213 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.1799, allocations: 19.98 kB / 0.7213 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.1799, allocations: 23.97 kB / 0.7213 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.18, allocations: 15.98 kB / 0.7213 GB, free: 9.031 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004934/0.1805, allocations: 406.8 kB / 0.7217 GB, free: 8.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1805, allocations: 0 / 0.7217 GB, free: 8.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003903/0.1808, allocations: 91.78 kB / 0.7218 GB, free: 8.547 MB / 0.545 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.002332/0.1832, allocations: 1.47 MB / 0.7232 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.1837, allocations: 235.8 kB / 0.7235 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1837, allocations: 0 / 0.7235 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.1839, allocations: 135.9 kB / 0.7236 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.1844, allocations: 85.66 kB / 0.7237 GB, free: 6.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.1894, allocations: 3.847 MB / 0.7274 GB, free: 2.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.1899, allocations: 0.8552 MB / 0.7283 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002464/0.1901, allocations: 95.19 kB / 0.7283 GB, free: 1.832 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.1904, allocations: 199.3 kB / 0.7285 GB, free: 1.637 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1904, allocations: 0 / 0.7285 GB, free: 1.637 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/0.2359, allocations: 9.655 MB / 0.738 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.484, allocations: 5.812 kB / 0.738 GB, free: 8.109 MB / 0.5606 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=600 --timeout=50 --tolerance=1e-06 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: 12.975965857040137] Failed to read output from testmodel.py, exit status != 0: 8.642611298710108 8.950534105 8.781578526 Calling exit ...