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.001263/0.001263, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001346/0.001346, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.8366/0.8366, allocations: 143.1 MB / 433.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.89 kB / 0.5143 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3795, allocations: 82.03 MB / 0.5944 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.003891/0.3834, allocations: 3.253 MB / 0.5976 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.3866, allocations: 2.512 MB / 0.6 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.3869, allocations: 13.41 kB / 0.6001 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.3874, allocations: 79.47 kB / 0.6001 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.3879, allocations: 169 kB / 0.6003 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.3888, allocations: 429.4 kB / 0.6007 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006432/0.3895, allocations: 0.8498 MB / 0.6015 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.3899, allocations: 329.5 kB / 0.6018 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.3902, allocations: 340 kB / 0.6022 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.3906, allocations: 398.6 kB / 0.6026 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.64e-05/0.3907, allocations: 89.38 kB / 0.6026 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.3911, allocations: 359.6 kB / 0.603 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.3913, allocations: 247.2 kB / 0.6032 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.3915, allocations: 398 kB / 0.6036 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.3921, allocations: 0.8468 MB / 0.6044 GB, free: 6.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3922, allocations: 4 kB / 0.6044 GB, free: 6.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3922, allocations: 1.531 kB / 0.6044 GB, free: 6.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3922, allocations: 0 / 0.6044 GB, free: 6.152 MB / 446.1 MB 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.00165/0.3938, allocations: 1.115 MB / 0.6055 GB, free: 4.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3939, allocations: 9.375 kB / 0.6055 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.3941, allocations: 88 kB / 0.6056 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.3946, allocations: 493.5 kB / 0.6061 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.3948, allocations: 96.28 kB / 0.6062 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.152e-05/0.3948, allocations: 56 kB / 0.6062 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3961, allocations: 0.7975 MB / 0.607 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3962, allocations: 3.938 kB / 0.607 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.3963, allocations: 29.25 kB / 0.607 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.3963, allocations: 12 kB / 0.607 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.3978, allocations: 0.8051 MB / 0.6078 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.4011, allocations: 2.739 MB / 0.6105 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.4027, allocations: 0.7155 MB / 0.6112 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008865/0.4036, allocations: 440.7 kB / 0.6116 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006153/0.4043, allocations: 0.5224 MB / 0.6121 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.4043, allocations: 39 kB / 0.6122 GB, free: 13.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=62): time 3.146e-06/0.4043, allocations: 0 / 0.6122 GB, free: 13.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=62): time 0.008814/0.4131, allocations: 2.256 MB / 0.6144 GB, free: 11.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4133, allocations: 140.9 kB / 0.6145 GB, free: 11.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/0.4139, allocations: 473.9 kB / 0.615 GB, free: 10.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.414, allocations: 33.7 kB / 0.615 GB, free: 10.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.4142, allocations: 320.3 kB / 0.6153 GB, free: 10.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.4144, allocations: 201 kB / 0.6155 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.4146, allocations: 110.2 kB / 0.6156 GB, free: 10.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4148, allocations: 366.8 kB / 0.6159 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/0.4155, allocations: 305 kB / 0.6162 GB, free: 9.582 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/0.4162, allocations: 399.1 kB / 0.6166 GB, free: 9.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004571/0.4208, allocations: 1.853 MB / 0.6184 GB, free: 7.258 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4208, allocations: 0 / 0.6184 GB, free: 7.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004318/0.4252, allocations: 1.365 MB / 0.6198 GB, free: 5.867 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.4253, allocations: 63.39 kB / 0.6198 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00414/0.4294, allocations: 1.296 MB / 0.6211 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008893/0.4303, allocations: 332.5 kB / 0.6214 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.4308, allocations: 111.9 kB / 0.6215 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008127/0.439, allocations: 3.076 MB / 0.6245 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.4397, allocations: 71.55 kB / 0.6246 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.4398, allocations: 31.98 kB / 0.6246 GB, free: 0.7188 MB / 462.1 MB 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.0005204/0.4403, allocations: 318.3 kB / 0.6249 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4404, allocations: 59.28 kB / 0.625 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004438/0.4449, allocations: 1.388 MB / 0.6263 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.4449, allocations: 8 kB / 0.6263 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4449, allocations: 0 / 0.6263 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4449, allocations: 3.984 kB / 0.6263 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009914/0.4459, allocations: 0.7485 MB / 0.6271 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004145/0.4501, allocations: 1.282 MB / 0.6283 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.4505, allocations: 91.88 kB / 0.6284 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008088/0.4514, allocations: 328.5 kB / 0.6287 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.4514, allocations: 19.98 kB / 0.6287 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008008/0.4595, allocations: 3.08 MB / 0.6318 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4595, allocations: 0 / 0.6318 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.4649, allocations: 1.91 MB / 0.6336 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.4653, allocations: 216.3 kB / 0.6338 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.911e-05/0.4654, allocations: 15.94 kB / 0.6338 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.4659, allocations: 36.19 kB / 0.6339 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.4661, allocations: 60.42 kB / 0.6339 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.4661, allocations: 23.98 kB / 0.634 GB, free: 6.879 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004064/0.4666, allocations: 339.1 kB / 0.6343 GB, free: 6.551 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4666, allocations: 0 / 0.6343 GB, free: 6.551 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007382/0.4673, allocations: 223.5 kB / 0.6345 GB, free: 6.332 MB / 478.1 MB 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.001231/0.4686, allocations: 0.5247 MB / 0.635 GB, free: 6.012 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002816/0.4714, allocations: 1.241 MB / 0.6362 GB, free: 4.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.4714, allocations: 7.938 kB / 0.6362 GB, free: 4.719 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.4729, allocations: 0.7018 MB / 0.6369 GB, free: 3.988 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.4735, allocations: 80.97 kB / 0.637 GB, free: 3.914 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.4765, allocations: 1.863 MB / 0.6388 GB, free: 2.016 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.4771, allocations: 0.9338 MB / 0.6397 GB, free: 1.055 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.4773, allocations: 63.39 kB / 0.6398 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4773, allocations: 0 / 0.6398 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of Templates: time 0.01689/0.4942, allocations: 12.7 MB / 0.6522 GB, free: 4.332 MB / 494.1 MB 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)