Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.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.001467/0.001467, allocations: 108.2 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.001467/0.001467, 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.9653/0.9653, allocations: 145 MB / 453.8 MB, free: 1.098 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.BuildingStock.RnCm.Examples.R3C2_PIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled",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.002104/0.002104, allocations: 62.12 kB / 0.6279 GB, free: 10.84 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1651, allocations: 87.83 MB / 0.7137 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.005005/0.1701, allocations: 3.281 MB / 0.7169 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004541/0.1747, allocations: 2.714 MB / 0.7196 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.175, allocations: 8 kB / 0.7196 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.1755, allocations: 115 kB / 0.7197 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007985/0.1763, allocations: 238.4 kB / 0.7199 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1776, allocations: 490.8 kB / 0.7204 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.1787, allocations: 0.8537 MB / 0.7212 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.1792, allocations: 245.4 kB / 0.7214 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.1797, allocations: 355 kB / 0.7218 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.1803, allocations: 390.6 kB / 0.7221 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.1805, allocations: 96 kB / 0.7222 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007386/0.1812, allocations: 423.4 kB / 0.7226 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.1815, allocations: 243.2 kB / 0.7229 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.1819, allocations: 398 kB / 0.7233 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.1835, allocations: 1.199 MB / 0.7244 GB, free: 7.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1835, allocations: 4 kB / 0.7244 GB, free: 7.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1835, allocations: 0 / 0.7244 GB, free: 7.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.1835, allocations: 0 / 0.7244 GB, free: 7.98 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002466/0.186, allocations: 1.158 MB / 0.7256 GB, free: 6.762 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.186, allocations: 12.03 kB / 0.7256 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.1862, allocations: 118.6 kB / 0.7257 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.1865, allocations: 88.42 kB / 0.7258 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/0.1872, allocations: 0.4976 MB / 0.7263 GB, free: 6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.1874, allocations: 94.94 kB / 0.7263 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.1875, allocations: 60 kB / 0.7264 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.1894, allocations: 0.7901 MB / 0.7272 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.1894, allocations: 4 kB / 0.7272 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.1895, allocations: 28 kB / 0.7272 GB, free: 4.996 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.1895, allocations: 19.98 kB / 0.7272 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.1916, allocations: 0.7935 MB / 0.728 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.1964, allocations: 2.741 MB / 0.7307 GB, free: 1.262 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.1982, allocations: 0.6452 MB / 0.7313 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.1992, allocations: 394.1 kB / 0.7317 GB, free: 224 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/0.1999, allocations: 0.5156 MB / 0.7322 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.2, allocations: 42.94 kB / 0.7322 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/0.2, allocations: 0 / 0.7322 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.009945/0.2099, allocations: 2.269 MB / 0.7344 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.21, allocations: 140.9 kB / 0.7346 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007892/0.2108, allocations: 481.9 kB / 0.735 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.2109, allocations: 33.7 kB / 0.7351 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.2112, allocations: 320.9 kB / 0.7354 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.2115, allocations: 222.1 kB / 0.7356 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.2117, allocations: 114.2 kB / 0.7357 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2119, allocations: 362.8 kB / 0.736 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/0.2127, allocations: 305 kB / 0.7363 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009011/0.2136, allocations: 395.1 kB / 0.7367 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005308/0.2189, allocations: 1.839 MB / 0.7385 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2189, allocations: 0 / 0.7385 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004865/0.2238, allocations: 1.361 MB / 0.7398 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.058e-05/0.2239, allocations: 63.39 kB / 0.7399 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00468/0.2285, allocations: 1.303 MB / 0.7412 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009896/0.2295, allocations: 332.5 kB / 0.7415 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.2302, allocations: 115.8 kB / 0.7416 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009096/0.2393, allocations: 3.079 MB / 0.7446 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.2399, allocations: 79.66 kB / 0.7447 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-05/0.24, allocations: 23.98 kB / 0.7447 GB, free: 2.375 MB / 0.5606 GB Warning: Assuming fixed start value for the following 3 variables: R3C2_1.Tint.T:VARIABLE(min = 0.0 start = 288.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the element\" type: Real R3C2_1.Ts.T:VARIABLE(min = 0.0 start = 288.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the element\" type: Real PI1.x:VARIABLE(start = PI1.x_start fixed = true ) \"State of block\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005363/0.2405, allocations: 284.8 kB / 0.745 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.2407, allocations: 67.61 kB / 0.745 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/0.2455, allocations: 1.348 MB / 0.7464 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.2456, allocations: 8 kB / 0.7464 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2456, allocations: 0 / 0.7464 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.2456, allocations: 3.984 kB / 0.7464 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3289/0.5745, allocations: 0.7648 MB / 0.7471 GB, free: 33.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004803/0.5793, allocations: 1.269 MB / 0.7483 GB, free: 32.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.5798, allocations: 92.89 kB / 0.7484 GB, free: 32.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009531/0.5807, allocations: 323.7 kB / 0.7487 GB, free: 32.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.5808, allocations: 20.8 kB / 0.7488 GB, free: 32.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008101/0.5889, allocations: 3.083 MB / 0.7518 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5889, allocations: 0.7031 kB / 0.7518 GB, free: 31.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/0.5947, allocations: 1.91 MB / 0.7536 GB, free: 31.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.5951, allocations: 221.8 kB / 0.7539 GB, free: 31.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/0.5952, allocations: 12.62 kB / 0.7539 GB, free: 31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.5956, allocations: 34.28 kB / 0.7539 GB, free: 31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.5959, allocations: 59.83 kB / 0.754 GB, free: 30.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.706e-05/0.596, allocations: 23.73 kB / 0.754 GB, free: 30.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005091/0.5965, allocations: 342.6 kB / 0.7543 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5965, allocations: 0 / 0.7543 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009838/0.5975, allocations: 246.6 kB / 0.7545 GB, free: 30.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (R3C2_1.Tint.T,R3C2_1.Ts.T,PI1.x) * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008059/0.6055, allocations: 2.931 MB / 0.7574 GB, free: 29.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002694/0.6082, allocations: 1.071 MB / 0.7585 GB, free: 29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6082, allocations: 1.281 kB / 0.7585 GB, free: 29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.6097, allocations: 0.6436 MB / 0.7591 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.6104, allocations: 94 kB / 0.7592 GB, free: 28.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.6258, allocations: 6.905 MB / 0.7659 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.6262, allocations: 0.9346 MB / 0.7668 GB, free: 24.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004234/0.6266, allocations: 121.3 kB / 0.7669 GB, free: 24.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.6269, allocations: 240.6 kB / 0.7672 GB, free: 24.46 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.6269, allocations: 1.75 kB / 0.7672 GB, free: 24.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05214/0.6791, allocations: 17.75 MB / 0.7845 GB, free: 17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.38, allocations: 18.06 kB / 0.7845 GB, free: 16.99 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled.fmu > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.42872416600585] Failed to read output from testmodel.py, exit status != 0: 13.56654793600319 13.58183742 13.395069865 Calling exit ...