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: translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.9304/0.9304, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 0.5141 GB, free: 11.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1428, allocations: 82.04 MB / 0.5942 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004459/0.1473, allocations: 3.228 MB / 0.5974 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1508, allocations: 2.554 MB / 0.5999 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.151, allocations: 8 kB / 0.5999 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1513, allocations: 107 kB / 0.6 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.1518, allocations: 198.6 kB / 0.6002 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008789/0.1527, allocations: 490 kB / 0.6007 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008047/0.1535, allocations: 0.8343 MB / 0.6015 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.154, allocations: 333.6 kB / 0.6018 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.1543, allocations: 339 kB / 0.6021 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.1548, allocations: 394.6 kB / 0.6025 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.155, allocations: 88 kB / 0.6026 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.1555, allocations: 363.6 kB / 0.6029 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.1557, allocations: 239.3 kB / 0.6031 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.156, allocations: 398 kB / 0.6035 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2302/0.3862, allocations: 1.124 MB / 0.6046 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3863, allocations: 0 / 0.6046 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3863, allocations: 0 / 0.6046 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3863, allocations: 0 / 0.6046 GB, free: 38.24 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.001598/0.3879, allocations: 1.108 MB / 0.6057 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.3879, allocations: 8.906 kB / 0.6057 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.3881, allocations: 90.94 kB / 0.6058 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.3886, allocations: 493.5 kB / 0.6063 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.3887, allocations: 92.48 kB / 0.6064 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/0.3888, allocations: 60.3 kB / 0.6064 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3901, allocations: 0.7931 MB / 0.6072 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3901, allocations: 1.688 kB / 0.6072 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.3902, allocations: 30 kB / 0.6072 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3902, allocations: 14.59 kB / 0.6072 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.3918, allocations: 0.7951 MB / 0.608 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.3947, allocations: 2.741 MB / 0.6107 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.396, allocations: 0.7061 MB / 0.6114 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/0.3968, allocations: 440.6 kB / 0.6118 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/0.3973, allocations: 0.5233 MB / 0.6123 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.3973, allocations: 46.78 kB / 0.6124 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 1.863e-06/0.3973, allocations: 0 / 0.6124 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.008014/0.4053, allocations: 2.259 MB / 0.6146 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.4054, allocations: 134.4 kB / 0.6147 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.4058, allocations: 471.5 kB / 0.6151 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.4058, allocations: 35.05 kB / 0.6152 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4059, allocations: 311.2 kB / 0.6155 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.406, allocations: 207.9 kB / 0.6157 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.4062, allocations: 115.4 kB / 0.6158 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.4063, allocations: 372.6 kB / 0.6161 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.4069, allocations: 301.2 kB / 0.6164 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/0.4076, allocations: 398.9 kB / 0.6168 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/0.4115, allocations: 1.841 MB / 0.6186 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4115, allocations: 2.375 kB / 0.6186 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003804/0.4153, allocations: 1.361 MB / 0.6199 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.4154, allocations: 63.91 kB / 0.62 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003751/0.4191, allocations: 1.297 MB / 0.6213 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007714/0.4199, allocations: 336.1 kB / 0.6216 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.4204, allocations: 113.9 kB / 0.6217 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007084/0.4275, allocations: 3.09 MB / 0.6247 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.4279, allocations: 67.92 kB / 0.6248 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.4279, allocations: 26.28 kB / 0.6248 GB, free: 30.29 MB / 0.4981 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.0002938/0.4282, allocations: 282.7 kB / 0.6251 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4283, allocations: 60.22 kB / 0.6251 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003912/0.4322, allocations: 1.354 MB / 0.6264 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4323, allocations: 9.406 kB / 0.6265 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.4323, allocations: 4 kB / 0.6265 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4323, allocations: 3.469 kB / 0.6265 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006551/0.4329, allocations: 0.7555 MB / 0.6272 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003711/0.4367, allocations: 1.27 MB / 0.6284 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.4371, allocations: 90.09 kB / 0.6285 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007299/0.4378, allocations: 334.1 kB / 0.6288 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.4379, allocations: 20.12 kB / 0.6289 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007065/0.4449, allocations: 3.076 MB / 0.6319 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.445, allocations: 0 / 0.6319 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/0.4497, allocations: 1.911 MB / 0.6337 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.4499, allocations: 219 kB / 0.6339 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.45, allocations: 16.17 kB / 0.634 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.4504, allocations: 33.23 kB / 0.634 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.4506, allocations: 61.94 kB / 0.634 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.4506, allocations: 28.58 kB / 0.6341 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003251/0.451, allocations: 333.2 kB / 0.6344 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.451, allocations: 0 / 0.6344 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006651/0.4516, allocations: 234.2 kB / 0.6346 GB, free: 25.99 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.001071/0.4527, allocations: 0.5056 MB / 0.6351 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002544/0.4553, allocations: 1.246 MB / 0.6363 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4553, allocations: 0.5 kB / 0.6363 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.4566, allocations: 0.707 MB / 0.637 GB, free: 24.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.4572, allocations: 86.41 kB / 0.6371 GB, free: 24.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.4595, allocations: 1.534 MB / 0.6386 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.4598, allocations: 0.9296 MB / 0.6395 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003903/0.4602, allocations: 134.4 kB / 0.6396 GB, free: 23.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.4604, allocations: 53.44 kB / 0.6397 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4604, allocations: 0 / 0.6397 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.01877/0.4792, allocations: 11.15 MB / 0.6506 GB, free: 22.57 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.makefile (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 & ./BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1)