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.001395/0.001395, allocations: 110 kB / 18.93 MB, free: 2.945 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.001446/0.001446, allocations: 192.3 kB / 22.23 MB, free: 5.16 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.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.01 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.9714/0.9714, allocations: 145 MB / 451.2 MB, free: 5.445 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.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: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario")
translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 68.64 kB / 0.6253 GB, free: 15.52 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1934, allocations: 86.7 MB / 0.71 GB, free: 8.812 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005083/0.1984, allocations: 3.073 MB / 0.713 GB, free: 5.723 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.003496/0.2019, allocations: 2.085 MB / 0.715 GB, free: 3.625 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.2022, allocations: 7.938 kB / 0.715 GB, free: 3.617 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.2025, allocations: 95.11 kB / 0.7151 GB, free: 3.523 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.000511/0.203, allocations: 190.9 kB / 0.7153 GB, free: 3.336 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007869/0.2038, allocations: 384.1 kB / 0.7156 GB, free: 2.969 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0007352/0.2046, allocations: 0.6363 MB / 0.7163 GB, free: 2.328 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.205, allocations: 192.2 kB / 0.7164 GB, free: 2.133 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.2053, allocations: 235 kB / 0.7167 GB, free: 1.902 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004673/0.2057, allocations: 262.7 kB / 0.7169 GB, free: 1.645 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 8.924e-05/0.2058, allocations: 63.94 kB / 0.717 GB, free: 1.582 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.206, allocations: 108 kB / 0.7171 GB, free: 1.477 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.2062, allocations: 155.4 kB / 0.7172 GB, free: 1.324 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.2065, allocations: 274.4 kB / 0.7175 GB, free: 1.055 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.2074, allocations: 0.7118 MB / 0.7182 GB, free: 348 kB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2074, allocations: 4 kB / 0.7182 GB, free: 344 kB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.2074, allocations: 0 / 0.7182 GB, free: 344 kB / 0.5294 GB
Notification: Performance of Transformations before backend: time 9.187e-06/0.2074, allocations: 0 / 0.7182 GB, free: 344 kB / 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.00135/0.2087, allocations: 0.8043 MB / 0.719 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2088, allocations: 8.031 kB / 0.719 GB, free: 15.49 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003348/0.2091, allocations: 76.5 kB / 0.7191 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.2098, allocations: 404.3 kB / 0.7194 GB, free: 15 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.2098, allocations: 29.38 kB / 0.7195 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.2099, allocations: 36.12 kB / 0.7195 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007385/0.2106, allocations: 424.9 kB / 0.7199 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2106, allocations: 0 / 0.7199 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.2107, allocations: 16 kB / 0.7199 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2107, allocations: 12 kB / 0.7199 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.2113, allocations: 310.4 kB / 0.7202 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.2131, allocations: 1.169 MB / 0.7214 GB, free: 12.94 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.2137, allocations: 319.1 kB / 0.7217 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.2139, allocations: 110.2 kB / 0.7218 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.2139, allocations: 8.234 kB / 0.7218 GB, free: 12.49 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.214, allocations: 46.78 kB / 0.7218 GB, free: 12.43 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.214, allocations: 0 / 0.7218 GB, free: 12.43 MB / 0.545 GB
Notification: Performance of matching and sorting (n=33): time 0.0008426/0.2148, allocations: 400 kB / 0.7222 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.215, allocations: 183.9 kB / 0.7224 GB, free: 11.82 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009513/0.2159, allocations: 0.5606 MB / 0.7229 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.216, allocations: 33.64 kB / 0.723 GB, free: 11.21 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.2162, allocations: 268.6 kB / 0.7232 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.2163, allocations: 107.1 kB / 0.7233 GB, free: 10.83 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.2164, allocations: 61.97 kB / 0.7234 GB, free: 10.76 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001868/0.2166, allocations: 358.8 kB / 0.7237 GB, free: 10.4 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.2169, allocations: 101.8 kB / 0.7238 GB, free: 10.3 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.2171, allocations: 166.7 kB / 0.724 GB, free: 10.11 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.2175, allocations: 219.5 kB / 0.7242 GB, free: 9.887 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2175, allocations: 4 kB / 0.7242 GB, free: 9.883 MB / 0.545 GB
Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005871/0.2181, allocations: 317.1 kB / 0.7245 GB, free: 9.566 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2181, allocations: 14.09 kB / 0.7245 GB, free: 9.555 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2181, allocations: 0 / 0.7245 GB, free: 9.555 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2182, allocations: 7.938 kB / 0.7245 GB, free: 9.547 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2184, allocations: 51.91 kB / 0.7246 GB, free: 9.496 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2184, allocations: 4 kB / 0.7246 GB, free: 9.492 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.2186, allocations: 39.77 kB / 0.7246 GB, free: 9.453 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.2186, allocations: 8 kB / 0.7246 GB, free: 9.445 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.0003673/0.219, allocations: 210.2 kB / 0.7248 GB, free: 9.23 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.2191, allocations: 55.62 kB / 0.7249 GB, free: 9.176 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006883/0.2198, allocations: 350.6 kB / 0.7252 GB, free: 8.828 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2198, allocations: 4 kB / 0.7252 GB, free: 8.824 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2198, allocations: 384 / 0.7252 GB, free: 8.824 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2198, allocations: 4 kB / 0.7252 GB, free: 8.82 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007039/0.2205, allocations: 0.4884 MB / 0.7257 GB, free: 8.289 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2205, allocations: 4 kB / 0.7257 GB, free: 8.285 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.2208, allocations: 55.91 kB / 0.7258 GB, free: 8.23 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2208, allocations: 4 kB / 0.7258 GB, free: 8.227 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.2208, allocations: 8 kB / 0.7258 GB, free: 8.219 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2208, allocations: 0 / 0.7258 GB, free: 8.219 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2208, allocations: 4 kB / 0.7258 GB, free: 8.215 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/0.2217, allocations: 0.6226 MB / 0.7264 GB, free: 7.578 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.2218, allocations: 51.59 kB / 0.7264 GB, free: 7.527 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.2219, allocations: 12.06 kB / 0.7264 GB, free: 7.516 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2221, allocations: 15.98 kB / 0.7265 GB, free: 7.5 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.2222, allocations: 35.98 kB / 0.7265 GB, free: 7.465 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.2222, allocations: 11.98 kB / 0.7265 GB, free: 7.453 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0005611/0.2228, allocations: 410.8 kB / 0.7269 GB, free: 7.055 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.2228, allocations: 0 / 0.7269 GB, free: 7.055 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.000431/0.2232, allocations: 95.72 kB / 0.727 GB, free: 6.961 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.001432/0.2246, allocations: 410.4 kB / 0.7274 GB, free: 6.699 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0005189/0.2252, allocations: 227.8 kB / 0.7276 GB, free: 6.477 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.2252, allocations: 7.938 kB / 0.7276 GB, free: 6.469 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.000246/0.2254, allocations: 127.9 kB / 0.7277 GB, free: 6.344 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.226, allocations: 94.41 kB / 0.7278 GB, free: 6.258 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.2274, allocations: 0.8739 MB / 0.7287 GB, free: 5.352 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.228, allocations: 0.8591 MB / 0.7295 GB, free: 4.469 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0002518/0.2283, allocations: 87.27 kB / 0.7296 GB, free: 4.383 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2284, allocations: 55.41 kB / 0.7296 GB, free: 4.328 MB / 0.545 GB
Notification: Performance of SimCode: time 3.2e-07/0.2284, allocations: 0 / 0.7296 GB, free: 4.328 MB / 0.545 GB
Notification: Performance of Templates: time 0.01158/0.24, allocations: 5.257 MB / 0.7348 GB, free: 15.11 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile [Timeout 660]
(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 & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.345094700343907]
Failed to read output from testmodel.py, exit status != 0:
0.24800384882837534 0.264181333 0.05344906000000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd2d62797b0>