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.001549/0.001549, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001924/0.001924, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.785 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.9315/0.9315, allocations: 145 MB / 457.4 MB, free: 15.26 MB / 366.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.003078/0.003078, allocations: 64.27 kB / 0.633 GB, free: 6.797 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1813, allocations: 87.91 MB / 0.7188 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004757/0.186, allocations: 3.023 MB / 0.7218 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004331/0.1904, allocations: 2.65 MB / 0.7244 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.1906, allocations: 7.938 kB / 0.7244 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.191, allocations: 103.1 kB / 0.7245 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006304/0.1917, allocations: 250.4 kB / 0.7247 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1928, allocations: 498.7 kB / 0.7252 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009502/0.1937, allocations: 0.8538 MB / 0.726 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.1941, allocations: 201.8 kB / 0.7262 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.1946, allocations: 358.9 kB / 0.7266 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.1951, allocations: 362.6 kB / 0.7269 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.1952, allocations: 96 kB / 0.727 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.1957, allocations: 315.7 kB / 0.7273 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.196, allocations: 247.3 kB / 0.7275 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.1963, allocations: 318.5 kB / 0.7278 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.1976, allocations: 1.191 MB / 0.729 GB, free: 4.434 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1976, allocations: 0 / 0.729 GB, free: 4.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1976, allocations: 0 / 0.729 GB, free: 4.434 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.1976, allocations: 0 / 0.729 GB, free: 4.434 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.002055/0.1997, allocations: 1.089 MB / 0.7301 GB, free: 3.297 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1997, allocations: 8.031 kB / 0.7301 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.1999, allocations: 110.7 kB / 0.7302 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.2001, allocations: 96.42 kB / 0.7303 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000789/0.2009, allocations: 459.7 kB / 0.7307 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.2011, allocations: 193.8 kB / 0.7309 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.2012, allocations: 60 kB / 0.731 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.2029, allocations: 0.8732 MB / 0.7318 GB, free: 1.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.2029, allocations: 4 kB / 0.7318 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.203, allocations: 28 kB / 0.7318 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.203, allocations: 15.98 kB / 0.7319 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.2049, allocations: 0.8226 MB / 0.7327 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.2089, allocations: 2.025 MB / 0.7346 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.2105, allocations: 0.6702 MB / 0.7353 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009673/0.2115, allocations: 423.7 kB / 0.7357 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004006/0.2119, allocations: 68.38 kB / 0.7358 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.2119, allocations: 42.94 kB / 0.7358 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/0.2119, allocations: 0 / 0.7358 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.008839/0.2207, allocations: 2.258 MB / 0.738 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/0.2208, allocations: 144.8 kB / 0.7381 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006794/0.2215, allocations: 485.8 kB / 0.7386 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.2216, allocations: 37.7 kB / 0.7386 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.2219, allocations: 317.9 kB / 0.7389 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.2221, allocations: 218.1 kB / 0.7392 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.2223, allocations: 114.2 kB / 0.7393 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2225, allocations: 362.8 kB / 0.7396 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/0.2233, allocations: 364.4 kB / 0.74 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008859/0.2242, allocations: 0.5093 MB / 0.7405 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004798/0.229, allocations: 1.842 MB / 0.7423 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.229, allocations: 3.938 kB / 0.7423 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004466/0.2334, allocations: 1.432 MB / 0.7437 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/0.2335, allocations: 61.59 kB / 0.7437 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004228/0.2378, allocations: 1.366 MB / 0.745 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009102/0.2387, allocations: 332.5 kB / 0.7454 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.2392, allocations: 119.8 kB / 0.7455 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3496/0.5888, allocations: 2.955 MB / 0.7484 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.5894, allocations: 66.33 kB / 0.7484 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.5894, allocations: 24.23 kB / 0.7485 GB, free: 29.27 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.000416/0.5899, allocations: 287.8 kB / 0.7487 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.59, allocations: 63.94 kB / 0.7488 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.5942, allocations: 1.383 MB / 0.7501 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5942, allocations: 7.688 kB / 0.7501 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5942, allocations: 3.875 kB / 0.7502 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.5942, allocations: 2.672 kB / 0.7502 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/0.595, allocations: 0.6255 MB / 0.7508 GB, free: 28.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004302/0.5993, allocations: 1.307 MB / 0.752 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.5998, allocations: 95.66 kB / 0.7521 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008615/0.6007, allocations: 325.5 kB / 0.7524 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.6008, allocations: 18.14 kB / 0.7525 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008309/0.6091, allocations: 2.961 MB / 0.7554 GB, free: 27.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6091, allocations: 0.625 kB / 0.7554 GB, free: 27.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00599/0.6151, allocations: 1.984 MB / 0.7573 GB, free: 27.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.6154, allocations: 144.3 kB / 0.7574 GB, free: 27.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.6155, allocations: 11.38 kB / 0.7574 GB, free: 27.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.6159, allocations: 42.36 kB / 0.7575 GB, free: 27.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.6161, allocations: 63.34 kB / 0.7575 GB, free: 27.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.6162, allocations: 22.47 kB / 0.7576 GB, free: 27.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004192/0.6166, allocations: 343.5 kB / 0.7579 GB, free: 27.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6166, allocations: 0 / 0.7579 GB, free: 27.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007564/0.6173, allocations: 246.5 kB / 0.7581 GB, free: 27.12 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.007386/0.6247, allocations: 3.04 MB / 0.7611 GB, free: 26.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002562/0.6273, allocations: 1.166 MB / 0.7622 GB, free: 25.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.6273, allocations: 5 kB / 0.7622 GB, free: 25.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.629, allocations: 0.6787 MB / 0.7629 GB, free: 25.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.6296, allocations: 84.69 kB / 0.763 GB, free: 25.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.644, allocations: 7.186 MB / 0.77 GB, free: 21.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.6444, allocations: 345.8 kB / 0.7703 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004272/0.6448, allocations: 126.8 kB / 0.7704 GB, free: 21.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.6451, allocations: 241.5 kB / 0.7707 GB, free: 21.36 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.6451, allocations: 0 / 0.7707 GB, free: 21.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0529/0.698, allocations: 18.55 MB / 0.7888 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.82, allocations: 13.47 kB / 0.7888 GB, free: 12.77 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.65676146512851] Failed to read output from testmodel.py, exit status != 0: 14.030641278252006 14.040435243 13.839937111 Calling exit ...