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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008488/0.0008488, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00485/0.00485, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8676/0.8676, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 8 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1245, allocations: 83.42 MB / 0.5979 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.002858/0.1274, allocations: 2.87 MB / 0.6008 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.1303, allocations: 2.512 MB / 0.6032 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.1304, allocations: 7.938 kB / 0.6032 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.1307, allocations: 83.47 kB / 0.6033 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.1311, allocations: 159.1 kB / 0.6034 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.1318, allocations: 426.3 kB / 0.6039 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006192/0.1324, allocations: 0.7601 MB / 0.6046 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.1328, allocations: 296.7 kB / 0.6049 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.133, allocations: 255.1 kB / 0.6051 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2173/0.3503, allocations: 325.3 kB / 0.6054 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.3505, allocations: 31.75 kB / 0.6055 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.3511, allocations: 315.5 kB / 0.6058 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3512, allocations: 182.1 kB / 0.6059 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.3515, allocations: 352 kB / 0.6063 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006999/0.3522, allocations: 1.064 MB / 0.6073 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3522, allocations: 0 / 0.6073 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3522, allocations: 0 / 0.6073 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.3522, allocations: 0 / 0.6073 GB, free: 35.08 MB / 0.4981 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.001324/0.3536, allocations: 0.9653 MB / 0.6083 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.3536, allocations: 10.44 kB / 0.6083 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.3537, allocations: 106.8 kB / 0.6084 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.3539, allocations: 93.72 kB / 0.6085 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.3543, allocations: 493.3 kB / 0.6089 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.3544, allocations: 93.25 kB / 0.609 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.685e-05/0.3545, allocations: 59.41 kB / 0.6091 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.3558, allocations: 0.7972 MB / 0.6098 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.3558, allocations: 0.5625 kB / 0.6098 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.3559, allocations: 23.94 kB / 0.6099 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3559, allocations: 14.41 kB / 0.6099 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.3574, allocations: 0.7953 MB / 0.6107 GB, free: 33.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.3602, allocations: 2.729 MB / 0.6133 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.3616, allocations: 0.7114 MB / 0.614 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.3623, allocations: 442.1 kB / 0.6144 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.3627, allocations: 0.5153 MB / 0.6149 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3627, allocations: 45.45 kB / 0.615 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.144e-06/0.3627, allocations: 0 / 0.615 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.007743/0.3705, allocations: 2.28 MB / 0.6172 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.3705, allocations: 141.2 kB / 0.6174 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.3709, allocations: 469.8 kB / 0.6178 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.371, allocations: 35.17 kB / 0.6178 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.3712, allocations: 317.5 kB / 0.6181 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.3713, allocations: 202.7 kB / 0.6183 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.3713, allocations: 54.94 kB / 0.6184 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.3714, allocations: 363.9 kB / 0.6187 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.372, allocations: 311.6 kB / 0.619 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.3727, allocations: 404.2 kB / 0.6194 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.3765, allocations: 1.832 MB / 0.6212 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3766, allocations: 0 / 0.6212 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003825/0.3804, allocations: 1.371 MB / 0.6225 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.3804, allocations: 65.72 kB / 0.6226 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003657/0.3841, allocations: 1.303 MB / 0.6239 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007584/0.3849, allocations: 325.7 kB / 0.6242 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.3853, allocations: 122.9 kB / 0.6243 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00642/0.3917, allocations: 2.835 MB / 0.6271 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.3922, allocations: 74.28 kB / 0.6271 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.3923, allocations: 25.09 kB / 0.6272 GB, free: 28.64 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: R3C2_1.Tint.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real R3C2_1.Ts.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 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.0003634/0.3926, allocations: 307.5 kB / 0.6275 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.3927, allocations: 57.34 kB / 0.6275 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.3967, allocations: 1.389 MB / 0.6289 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3967, allocations: 6.125 kB / 0.6289 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.3967, allocations: 4.656 kB / 0.6289 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3967, allocations: 10.97 kB / 0.6289 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.3974, allocations: 0.7581 MB / 0.6296 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003664/0.401, allocations: 1.277 MB / 0.6309 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.4014, allocations: 93.28 kB / 0.631 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007088/0.4021, allocations: 326.4 kB / 0.6313 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.4022, allocations: 19.48 kB / 0.6313 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006323/0.4085, allocations: 2.838 MB / 0.6341 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4085, allocations: 0 / 0.6341 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/0.413, allocations: 1.913 MB / 0.6359 GB, free: 24.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.4133, allocations: 223.3 kB / 0.6361 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.4133, allocations: 13.72 kB / 0.6362 GB, free: 24.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.4137, allocations: 41.05 kB / 0.6362 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.4139, allocations: 59.8 kB / 0.6363 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.4139, allocations: 25.22 kB / 0.6363 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002908/0.4142, allocations: 333.7 kB / 0.6366 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4142, allocations: 0 / 0.6366 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000591/0.4148, allocations: 228.6 kB / 0.6368 GB, free: 24.45 MB / 0.4981 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.005955/0.4208, allocations: 2.878 MB / 0.6396 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002242/0.423, allocations: 1.134 MB / 0.6407 GB, free: 22.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4231, allocations: 1.312 kB / 0.6407 GB, free: 22.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.4245, allocations: 0.7044 MB / 0.6414 GB, free: 22.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.4251, allocations: 83.52 kB / 0.6415 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.4384, allocations: 7.242 MB / 0.6486 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.4388, allocations: 0.936 MB / 0.6495 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003955/0.4392, allocations: 129.1 kB / 0.6496 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.4395, allocations: 235.8 kB / 0.6498 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of SimCode: time 9.41e-07/0.4396, allocations: 5.031 kB / 0.6498 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.4688, allocations: 15.99 MB / 0.6655 GB, free: 14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.469, allocations: 306.5 kB / 0.6658 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.39, allocations: 0 / 0.6658 GB, free: 13.62 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled.fmu > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1)