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.001382/0.001382, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001582/0.001582, allocations: 220 kB / 23.03 MB, free: 4.922 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9078/0.9078, allocations: 145 MB / 458.2 MB, free: 15.31 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled",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.002044/0.002044, allocations: 66.41 kB / 0.6338 GB, free: 6.824 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1663, allocations: 87.88 MB / 0.7196 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004717/0.1711, allocations: 3.029 MB / 0.7226 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.1753, allocations: 2.65 MB / 0.7251 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.1756, allocations: 11.88 kB / 0.7252 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.176, allocations: 111.1 kB / 0.7253 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006629/0.1766, allocations: 238.4 kB / 0.7255 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.1777, allocations: 490.8 kB / 0.726 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1787, allocations: 0.8499 MB / 0.7268 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.1791, allocations: 225.8 kB / 0.727 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.1796, allocations: 366.9 kB / 0.7274 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.1801, allocations: 398.6 kB / 0.7277 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.1803, allocations: 88 kB / 0.7278 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005905/0.1809, allocations: 319.7 kB / 0.7281 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.1811, allocations: 251.3 kB / 0.7284 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.1815, allocations: 322.4 kB / 0.7287 GB, free: 5.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.1829, allocations: 1.187 MB / 0.7298 GB, free: 4.434 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1829, allocations: 4 kB / 0.7298 GB, free: 4.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1829, allocations: 0 / 0.7298 GB, free: 4.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.1829, allocations: 0 / 0.7298 GB, free: 4.43 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.002072/0.1849, allocations: 1.093 MB / 0.7309 GB, free: 3.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.185, allocations: 8.031 kB / 0.7309 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.8e-05/0.185, allocations: 17.5 kB / 0.7309 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.1851, allocations: 110.7 kB / 0.731 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.1854, allocations: 92.41 kB / 0.7311 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.1861, allocations: 447.5 kB / 0.7315 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.1863, allocations: 201.8 kB / 0.7317 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.1864, allocations: 56 kB / 0.7318 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.1882, allocations: 0.8848 MB / 0.7327 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1882, allocations: 0 / 0.7327 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.1883, allocations: 20 kB / 0.7327 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.1883, allocations: 16 kB / 0.7327 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.1904, allocations: 0.8382 MB / 0.7335 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004104/0.1945, allocations: 2.025 MB / 0.7355 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.1961, allocations: 0.6779 MB / 0.7361 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/0.1971, allocations: 421.5 kB / 0.7365 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/0.1976, allocations: 64.38 kB / 0.7366 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.1976, allocations: 43 kB / 0.7366 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 3.076e-06/0.1976, allocations: 0 / 0.7366 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.009367/0.207, allocations: 2.262 MB / 0.7389 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.2071, allocations: 140.9 kB / 0.739 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.2079, allocations: 481.9 kB / 0.7395 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.2081, allocations: 37.7 kB / 0.7395 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.2084, allocations: 320.9 kB / 0.7398 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.2086, allocations: 215.1 kB / 0.74 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.2089, allocations: 110.2 kB / 0.7401 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003341/0.2092, allocations: 366.8 kB / 0.7405 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008865/0.2101, allocations: 368.4 kB / 0.7408 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/0.2111, allocations: 0.4977 MB / 0.7413 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005012/0.2161, allocations: 1.858 MB / 0.7431 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2161, allocations: 0 / 0.7431 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004613/0.2207, allocations: 1.424 MB / 0.7445 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.2208, allocations: 63.61 kB / 0.7446 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004519/0.2253, allocations: 1.37 MB / 0.7459 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009199/0.2262, allocations: 328.5 kB / 0.7462 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.2268, allocations: 111.9 kB / 0.7463 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3828/0.6096, allocations: 2.959 MB / 0.7492 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/0.6103, allocations: 72.11 kB / 0.7493 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.6104, allocations: 23.84 kB / 0.7493 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.0004363/0.6108, allocations: 284.8 kB / 0.7496 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.6109, allocations: 60.83 kB / 0.7496 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.6153, allocations: 1.391 MB / 0.751 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.6153, allocations: 6.281 kB / 0.751 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6153, allocations: 0.6562 kB / 0.751 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.6153, allocations: 2.391 kB / 0.751 GB, free: 29.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009061/0.6162, allocations: 0.6246 MB / 0.7516 GB, free: 28.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004484/0.6207, allocations: 1.31 MB / 0.7529 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/0.6212, allocations: 95.56 kB / 0.753 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008869/0.6221, allocations: 324.5 kB / 0.7533 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.6222, allocations: 20.22 kB / 0.7533 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008387/0.6306, allocations: 2.959 MB / 0.7562 GB, free: 27.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6306, allocations: 1.562 kB / 0.7562 GB, free: 27.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006263/0.6369, allocations: 1.988 MB / 0.7581 GB, free: 27.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.6373, allocations: 144.7 kB / 0.7583 GB, free: 27.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6374, allocations: 12.14 kB / 0.7583 GB, free: 27.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.6379, allocations: 33.72 kB / 0.7583 GB, free: 27.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.6381, allocations: 61.31 kB / 0.7584 GB, free: 27.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/0.6382, allocations: 20.52 kB / 0.7584 GB, free: 27.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004759/0.6386, allocations: 349.4 kB / 0.7587 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6386, allocations: 0.875 kB / 0.7587 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001024/0.6397, allocations: 245 kB / 0.759 GB, free: 27.14 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.008432/0.6481, allocations: 3.049 MB / 0.7619 GB, free: 26.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003271/0.6514, allocations: 1.161 MB / 0.7631 GB, free: 25.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6514, allocations: 0.5 kB / 0.7631 GB, free: 25.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.6532, allocations: 0.6804 MB / 0.7637 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.0009124/0.6541, allocations: 80.58 kB / 0.7638 GB, free: 25.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.6699, allocations: 7.193 MB / 0.7708 GB, free: 21.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.6704, allocations: 337.6 kB / 0.7712 GB, free: 21.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005352/0.6709, allocations: 137.1 kB / 0.7713 GB, free: 21.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.6713, allocations: 241.2 kB / 0.7715 GB, free: 21.34 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.6713, allocations: 0 / 0.7715 GB, free: 21.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05087/0.7221, allocations: 18.38 MB / 0.7895 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.59, allocations: 5.828 kB / 0.7895 GB, free: 12.95 MB / 0.5606 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 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: 18.765871027018875] Failed to read output from testmodel.py, exit status != 0: 14.851216649985872 14.862447492 14.676664603 Calling exit ...