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.001711/0.001711, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002113/0.002113, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9812/0.9812, allocations: 145 MB / 454.5 MB, free: 10.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="cs",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.001891/0.001891, allocations: 64.06 kB / 0.6287 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1646, allocations: 87.85 MB / 0.7145 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005421/0.1701, allocations: 3.109 MB / 0.7175 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003881/0.1739, allocations: 2.185 MB / 0.7196 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.1745, allocations: 7.938 kB / 0.7196 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.1749, allocations: 99.05 kB / 0.7197 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007769/0.1757, allocations: 250.7 kB / 0.72 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.1766, allocations: 382.8 kB / 0.7203 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009626/0.1775, allocations: 0.6716 MB / 0.721 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.178, allocations: 212 kB / 0.7212 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003861/0.1784, allocations: 254.9 kB / 0.7214 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.179, allocations: 294.5 kB / 0.7217 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1792, allocations: 64 kB / 0.7218 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.1795, allocations: 167.9 kB / 0.7219 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.1797, allocations: 159.5 kB / 0.7221 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.1801, allocations: 298.2 kB / 0.7224 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1812, allocations: 0.8015 MB / 0.7231 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1812, allocations: 0 / 0.7231 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1812, allocations: 0 / 0.7231 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.1812, allocations: 0 / 0.7231 GB, free: 2.82 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.001451/0.1826, allocations: 0.9222 MB / 0.724 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1827, allocations: 8.031 kB / 0.7241 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.248e-05/0.1827, allocations: 9.188 kB / 0.7241 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.314e-05/0.1828, allocations: 78.72 kB / 0.7241 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/0.1831, allocations: 80.45 kB / 0.7242 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.1838, allocations: 0.4962 MB / 0.7247 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.1838, allocations: 33.12 kB / 0.7247 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.1839, allocations: 36 kB / 0.7248 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.1846, allocations: 412.9 kB / 0.7252 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1846, allocations: 0 / 0.7252 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.1847, allocations: 23.94 kB / 0.7252 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.1847, allocations: 8 kB / 0.7252 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.1852, allocations: 318.4 kB / 0.7255 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.1871, allocations: 1.249 MB / 0.7267 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.1876, allocations: 313.7 kB / 0.727 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1879, allocations: 110.2 kB / 0.7271 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.1879, allocations: 4.234 kB / 0.7271 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.1879, allocations: 42.78 kB / 0.7272 GB, free: 14.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.1879, allocations: 4 kB / 0.7272 GB, free: 14.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008601/0.1888, allocations: 399.4 kB / 0.7275 GB, free: 14.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.1889, allocations: 187.9 kB / 0.7277 GB, free: 13.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.1898, allocations: 0.6122 MB / 0.7283 GB, free: 13.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.1899, allocations: 33.7 kB / 0.7284 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.1901, allocations: 280.6 kB / 0.7286 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1902, allocations: 115 kB / 0.7287 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1903, allocations: 61.97 kB / 0.7288 GB, free: 12.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.1905, allocations: 362.8 kB / 0.7291 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.1908, allocations: 105.6 kB / 0.7292 GB, free: 12.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.191, allocations: 162.7 kB / 0.7294 GB, free: 12.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.1914, allocations: 229.8 kB / 0.7296 GB, free: 11.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1914, allocations: 0 / 0.7296 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005885/0.192, allocations: 325.1 kB / 0.7299 GB, free: 11.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.192, allocations: 4 kB / 0.7299 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.192, allocations: 4 kB / 0.7299 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.192, allocations: 0 / 0.7299 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.1923, allocations: 63.97 kB / 0.73 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1923, allocations: 3.938 kB / 0.73 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.1925, allocations: 40.08 kB / 0.73 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.1925, allocations: 12 kB / 0.73 GB, free: 11.41 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.0003586/0.1929, allocations: 209.6 kB / 0.7302 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.193, allocations: 63.61 kB / 0.7303 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006984/0.1937, allocations: 346.7 kB / 0.7306 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1937, allocations: 4 kB / 0.7306 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1937, allocations: 3.938 kB / 0.7306 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1937, allocations: 0 / 0.7306 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.1944, allocations: 0.5479 MB / 0.7312 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1944, allocations: 0 / 0.7312 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.1946, allocations: 47.97 kB / 0.7312 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1946, allocations: 0 / 0.7312 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.1947, allocations: 8 kB / 0.7312 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1947, allocations: 11.86 kB / 0.7312 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1947, allocations: 8 kB / 0.7313 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.1956, allocations: 0.6162 MB / 0.7319 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1957, allocations: 144.7 kB / 0.732 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.1958, allocations: 11.98 kB / 0.732 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.196, allocations: 15.98 kB / 0.732 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.1961, allocations: 32.03 kB / 0.7321 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.1961, allocations: 11.98 kB / 0.7321 GB, free: 9.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005908/0.1967, allocations: 450.8 kB / 0.7325 GB, free: 8.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1967, allocations: 0 / 0.7325 GB, free: 8.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004635/0.1971, allocations: 111.6 kB / 0.7326 GB, free: 8.695 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.002645/0.1998, allocations: 1.525 MB / 0.7341 GB, free: 7.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.2003, allocations: 228.3 kB / 0.7343 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2003, allocations: 4.125 kB / 0.7343 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.2005, allocations: 140.3 kB / 0.7344 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.2011, allocations: 92.95 kB / 0.7345 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/0.2069, allocations: 4.029 MB / 0.7385 GB, free: 2.727 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.2074, allocations: 0.8708 MB / 0.7393 GB, free: 1.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002841/0.2077, allocations: 99.3 kB / 0.7394 GB, free: 1.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/0.2081, allocations: 215.3 kB / 0.7396 GB, free: 1.52 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2081, allocations: 0 / 0.7396 GB, free: 1.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.2522, allocations: 10.62 MB / 0.75 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.255/9.507, allocations: 5.719 kB / 0.75 GB, free: 7.066 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 & /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: 14.285670723009389] Failed to read output from testmodel.py, exit status != 0: 9.744945651036687 9.760859515 9.576638223 Calling exit ...