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.001115/0.001115, allocations: 97.39 kB / 16.02 MB, free: 72 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.002274/0.002274, allocations: 179 kB / 16.92 MB, free: 6.914 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.273 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 1.026/1.026, allocations: 143.2 MB / 435.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 8.281 kB / 0.517 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 83.42 MB / 0.5985 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.003698/0.1897, allocations: 2.87 MB / 0.6013 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003814/0.1936, allocations: 2.504 MB / 0.6037 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.1938, allocations: 7.938 kB / 0.6037 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.1942, allocations: 83.41 kB / 0.6038 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.1946, allocations: 171 kB / 0.604 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009115/0.1955, allocations: 417 kB / 0.6044 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.1963, allocations: 0.7639 MB / 0.6051 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.1968, allocations: 284.8 kB / 0.6054 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.1971, allocations: 259 kB / 0.6056 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.1975, allocations: 330.6 kB / 0.606 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.1976, allocations: 32 kB / 0.606 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3414/0.539, allocations: 308.4 kB / 0.6063 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.5392, allocations: 184.3 kB / 0.6065 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.5396, allocations: 347 kB / 0.6068 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007804/0.5404, allocations: 0.8289 MB / 0.6076 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5404, allocations: 0 / 0.6076 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5404, allocations: 0 / 0.6076 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.5405, allocations: 0 / 0.6076 GB, free: 35.8 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.001567/0.542, allocations: 0.9637 MB / 0.6085 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5421, allocations: 8.812 kB / 0.6086 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.5423, allocations: 92.53 kB / 0.6086 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.5428, allocations: 488.8 kB / 0.6091 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.543, allocations: 93.58 kB / 0.6092 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.5431, allocations: 68.72 kB / 0.6093 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.5445, allocations: 0.7915 MB / 0.61 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.5446, allocations: 0.5625 kB / 0.61 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.5447, allocations: 29.98 kB / 0.6101 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.5447, allocations: 15.25 kB / 0.6101 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.5463, allocations: 0.7945 MB / 0.6109 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.5497, allocations: 2.729 MB / 0.6135 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.5512, allocations: 0.7087 MB / 0.6142 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008943/0.5521, allocations: 438 kB / 0.6146 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004984/0.5526, allocations: 0.5205 MB / 0.6151 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.5527, allocations: 38.19 kB / 0.6152 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.254e-06/0.5527, allocations: 3.094 kB / 0.6152 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.008334/0.561, allocations: 2.274 MB / 0.6174 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.5611, allocations: 139.2 kB / 0.6175 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005813/0.5617, allocations: 474.1 kB / 0.618 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.5618, allocations: 36.08 kB / 0.618 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.5619, allocations: 313.3 kB / 0.6183 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.5621, allocations: 203.6 kB / 0.6185 GB, free: 32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/0.5622, allocations: 53.72 kB / 0.6186 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.5623, allocations: 370.1 kB / 0.6189 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/0.5629, allocations: 307 kB / 0.6192 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.5636, allocations: 404.5 kB / 0.6196 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00421/0.5679, allocations: 1.848 MB / 0.6214 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.5679, allocations: 0 / 0.6214 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004036/0.5719, allocations: 1.37 MB / 0.6227 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.572, allocations: 63.91 kB / 0.6228 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003931/0.5759, allocations: 1.306 MB / 0.6241 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008596/0.5768, allocations: 331.4 kB / 0.6244 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.5773, allocations: 116.2 kB / 0.6245 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007034/0.5843, allocations: 2.84 MB / 0.6273 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.585, allocations: 71.92 kB / 0.6273 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.5851, allocations: 29.59 kB / 0.6274 GB, free: 29.29 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.0005426/0.5856, allocations: 297.3 kB / 0.6277 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.5858, allocations: 59.34 kB / 0.6277 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/0.59, allocations: 1.395 MB / 0.6291 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.59, allocations: 5.5 kB / 0.6291 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.59, allocations: 0 / 0.6291 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.59, allocations: 7.406 kB / 0.6291 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008101/0.5909, allocations: 0.7568 MB / 0.6298 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003911/0.5948, allocations: 1.277 MB / 0.6311 GB, free: 27.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.5952, allocations: 90.75 kB / 0.6312 GB, free: 27.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007957/0.596, allocations: 341.7 kB / 0.6315 GB, free: 27.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.5961, allocations: 16.72 kB / 0.6315 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006809/0.6029, allocations: 2.827 MB / 0.6343 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6029, allocations: 0 / 0.6343 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004922/0.6079, allocations: 1.917 MB / 0.6361 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.6082, allocations: 231.3 kB / 0.6364 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/0.6083, allocations: 13.66 kB / 0.6364 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.6087, allocations: 39 kB / 0.6364 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.6089, allocations: 59.16 kB / 0.6365 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.6089, allocations: 22.3 kB / 0.6365 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003921/0.6093, allocations: 333.8 kB / 0.6368 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6093, allocations: 0 / 0.6368 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007777/0.6101, allocations: 228.2 kB / 0.637 GB, free: 25.09 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.00123/0.6114, allocations: 0.5235 MB / 0.6375 GB, free: 24.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002522/0.6139, allocations: 1.13 MB / 0.6386 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6139, allocations: 0 / 0.6386 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.6154, allocations: 0.6994 MB / 0.6393 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.616, allocations: 83.52 kB / 0.6394 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.619, allocations: 1.923 MB / 0.6413 GB, free: 22.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.6195, allocations: 0.9346 MB / 0.6422 GB, free: 22.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.6198, allocations: 67.89 kB / 0.6422 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.6198, allocations: 0 / 0.6422 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.02454/0.6443, allocations: 12.6 MB / 0.6546 GB, free: 20.8 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)