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.001584/0.001584, 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.001752/0.001752, allocations: 213.3 kB / 22.24 MB, free: 5.258 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.434/1.434, 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.8989/0.8989, allocations: 145 MB / 457.4 MB, free: 15.27 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.002069/0.002069, allocations: 66.7 kB / 0.633 GB, free: 6.773 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1766, allocations: 87.89 MB / 0.7188 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004689/0.1813, allocations: 3.031 MB / 0.7218 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.1856, allocations: 2.665 MB / 0.7244 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.1859, allocations: 7.938 kB / 0.7244 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.1863, allocations: 111.1 kB / 0.7245 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006169/0.1869, allocations: 246.4 kB / 0.7247 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.188, allocations: 498 kB / 0.7252 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009077/0.1889, allocations: 0.8499 MB / 0.726 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.1892, allocations: 205.8 kB / 0.7262 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/0.1897, allocations: 358.9 kB / 0.7266 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.1902, allocations: 370.6 kB / 0.7269 GB, free: 6.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.1904, allocations: 88 kB / 0.727 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.1909, allocations: 311.7 kB / 0.7273 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.1912, allocations: 247.3 kB / 0.7275 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.1915, allocations: 326.4 kB / 0.7279 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.1929, allocations: 1.187 MB / 0.729 GB, free: 4.414 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1929, allocations: 0 / 0.729 GB, free: 4.414 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1929, allocations: 0 / 0.729 GB, free: 4.414 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.1929, allocations: 0 / 0.729 GB, free: 4.414 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.002048/0.195, allocations: 1.085 MB / 0.7301 GB, free: 3.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.195, allocations: 8.031 kB / 0.7301 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.1952, allocations: 122.6 kB / 0.7302 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.1954, allocations: 92.42 kB / 0.7303 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.1962, allocations: 447.8 kB / 0.7307 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.1964, allocations: 193.8 kB / 0.7309 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.1965, allocations: 63.92 kB / 0.731 GB, free: 2.309 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.1982, allocations: 0.881 MB / 0.7318 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.1982, allocations: 0 / 0.7318 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.1983, allocations: 24 kB / 0.7318 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.1983, allocations: 12 kB / 0.7319 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.2003, allocations: 0.8226 MB / 0.7327 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004216/0.2045, allocations: 2.033 MB / 0.7346 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.2061, allocations: 0.6703 MB / 0.7353 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009733/0.2071, allocations: 421.6 kB / 0.7357 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/0.2075, allocations: 68.36 kB / 0.7358 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.2075, allocations: 39 kB / 0.7358 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/0.2075, allocations: 0 / 0.7358 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.008911/0.2164, allocations: 2.258 MB / 0.738 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/0.2165, allocations: 144.9 kB / 0.7381 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.2172, allocations: 485.8 kB / 0.7386 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.2172, allocations: 41.64 kB / 0.7386 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.2175, allocations: 320.9 kB / 0.739 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.2177, allocations: 215.1 kB / 0.7392 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.2179, allocations: 110.2 kB / 0.7393 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.2181, allocations: 362.8 kB / 0.7396 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008193/0.2189, allocations: 368.4 kB / 0.74 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009105/0.2198, allocations: 0.5016 MB / 0.7405 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/0.2248, allocations: 1.85 MB / 0.7423 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2248, allocations: 0 / 0.7423 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004487/0.2293, allocations: 1.428 MB / 0.7437 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-05/0.2293, allocations: 63.39 kB / 0.7437 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004539/0.2339, allocations: 1.366 MB / 0.745 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009428/0.2348, allocations: 332.5 kB / 0.7454 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.2354, allocations: 119.8 kB / 0.7455 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3237/0.5591, allocations: 2.948 MB / 0.7484 GB, free: 29.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.5597, allocations: 68.75 kB / 0.7484 GB, free: 29.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.5598, allocations: 25.75 kB / 0.7484 GB, free: 29.18 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.0003936/0.5602, allocations: 281.1 kB / 0.7487 GB, free: 29.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.5603, allocations: 60.23 kB / 0.7488 GB, free: 29.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/0.5645, allocations: 1.395 MB / 0.7501 GB, free: 28.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5645, allocations: 7 kB / 0.7501 GB, free: 28.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5645, allocations: 0 / 0.7501 GB, free: 28.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5646, allocations: 2.953 kB / 0.7501 GB, free: 28.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008713/0.5654, allocations: 0.6272 MB / 0.7508 GB, free: 28.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00433/0.5698, allocations: 1.307 MB / 0.752 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.5702, allocations: 96.17 kB / 0.7521 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008461/0.5711, allocations: 330.3 kB / 0.7524 GB, free: 28.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.5712, allocations: 19.42 kB / 0.7525 GB, free: 28.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007688/0.5788, allocations: 2.962 MB / 0.7554 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5788, allocations: 0.6562 kB / 0.7554 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005655/0.5845, allocations: 1.98 MB / 0.7573 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.5849, allocations: 149.3 kB / 0.7574 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/0.585, allocations: 11.48 kB / 0.7574 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.5854, allocations: 33.8 kB / 0.7575 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.5856, allocations: 63.55 kB / 0.7575 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.5856, allocations: 23.94 kB / 0.7576 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004122/0.5861, allocations: 344.4 kB / 0.7579 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5861, allocations: 0 / 0.7579 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008025/0.5869, allocations: 247.9 kB / 0.7581 GB, free: 27.03 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.00764/0.5945, allocations: 3.037 MB / 0.7611 GB, free: 26.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002625/0.5971, allocations: 1.166 MB / 0.7622 GB, free: 25.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.5971, allocations: 1.094 kB / 0.7622 GB, free: 25.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.5987, allocations: 0.6802 MB / 0.7629 GB, free: 25.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.5993, allocations: 93.27 kB / 0.763 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/0.6135, allocations: 7.185 MB / 0.77 GB, free: 21.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.6139, allocations: 337.9 kB / 0.7703 GB, free: 21.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004344/0.6144, allocations: 130.3 kB / 0.7704 GB, free: 21.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.6147, allocations: 245.5 kB / 0.7707 GB, free: 21.26 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.6147, allocations: 0 / 0.7707 GB, free: 21.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07278/0.6875, allocations: 18.55 MB / 0.7888 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.89, allocations: 5.203 kB / 0.7888 GB, free: 12.76 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 & /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: 19.885072188917547] Failed to read output from testmodel.py, exit status != 0: 14.103631549980491 14.122614459 13.925440481 Calling exit ...