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.001842/0.001842, allocations: 100.1 kB / 15.88 MB, free: 12 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.001489/0.001489, allocations: 196.4 kB / 16.79 MB, free: 6.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.586 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.03/1.03, allocations: 143 MB / 433.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1719, allocations: 82.05 MB / 0.5942 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.005205/0.1772, allocations: 3.252 MB / 0.5974 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004155/0.1814, allocations: 2.547 MB / 0.5999 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.1818, allocations: 4 kB / 0.5999 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.1823, allocations: 87.41 kB / 0.6 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.1828, allocations: 155.1 kB / 0.6001 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1839, allocations: 432.8 kB / 0.6006 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007385/0.1847, allocations: 0.7562 MB / 0.6013 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.1851, allocations: 304.8 kB / 0.6016 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.1855, allocations: 295 kB / 0.6019 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.1859, allocations: 366.6 kB / 0.6022 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-05/0.186, allocations: 44 kB / 0.6023 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.1865, allocations: 323.6 kB / 0.6026 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.1868, allocations: 207.2 kB / 0.6028 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.1871, allocations: 358 kB / 0.6031 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007811/0.1879, allocations: 0.8382 MB / 0.6039 GB, free: 120 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.1879, allocations: 0 / 0.6039 GB, free: 120 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1879, allocations: 3.938 kB / 0.6039 GB, free: 116 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.1879, allocations: 0 / 0.6039 GB, free: 116 kB / 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.3267/0.5146, allocations: 1.11 MB / 0.605 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.5147, allocations: 11.03 kB / 0.605 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.5151, allocations: 92.7 kB / 0.6051 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/0.516, allocations: 489.6 kB / 0.6056 GB, free: 43.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.5162, allocations: 92.39 kB / 0.6057 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.5164, allocations: 61.19 kB / 0.6057 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.5181, allocations: 0.7921 MB / 0.6065 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.5181, allocations: 9.969 kB / 0.6065 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.5182, allocations: 26.47 kB / 0.6065 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.5182, allocations: 14.53 kB / 0.6065 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.5201, allocations: 0.7962 MB / 0.6073 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.5243, allocations: 2.732 MB / 0.61 GB, free: 42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.5259, allocations: 0.7038 MB / 0.6107 GB, free: 41.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008829/0.5268, allocations: 442.2 kB / 0.6111 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.5273, allocations: 0.5201 MB / 0.6116 GB, free: 41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.5274, allocations: 41.97 kB / 0.6116 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 3.136e-06/0.5274, allocations: 0 / 0.6116 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.008393/0.5358, allocations: 2.257 MB / 0.6139 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.5359, allocations: 141.5 kB / 0.614 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.5365, allocations: 474.4 kB / 0.6144 GB, free: 40 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/0.5366, allocations: 36.52 kB / 0.6145 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.5368, allocations: 312.5 kB / 0.6148 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.537, allocations: 213.5 kB / 0.615 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.5372, allocations: 109.2 kB / 0.6151 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.5373, allocations: 369.9 kB / 0.6154 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/0.538, allocations: 304.4 kB / 0.6157 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007359/0.5387, allocations: 401.5 kB / 0.6161 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004322/0.5431, allocations: 1.839 MB / 0.6179 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5431, allocations: 0 / 0.6179 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004181/0.5473, allocations: 1.362 MB / 0.6192 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.5474, allocations: 60.34 kB / 0.6193 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003868/0.5513, allocations: 1.302 MB / 0.6206 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008236/0.5521, allocations: 333.4 kB / 0.6209 GB, free: 37.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.5526, allocations: 117.5 kB / 0.621 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00678/0.5594, allocations: 2.831 MB / 0.6238 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.5601, allocations: 72.11 kB / 0.6238 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.5603, allocations: 25.64 kB / 0.6238 GB, free: 35.54 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.0006893/0.561, allocations: 305.3 kB / 0.6241 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.5612, allocations: 52.59 kB / 0.6242 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.5656, allocations: 1.392 MB / 0.6256 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5656, allocations: 6 kB / 0.6256 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5657, allocations: 0 / 0.6256 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5657, allocations: 3.891 kB / 0.6256 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.5669, allocations: 0.7624 MB / 0.6263 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004029/0.5709, allocations: 1.268 MB / 0.6275 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.5714, allocations: 98.64 kB / 0.6276 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007964/0.5722, allocations: 317.2 kB / 0.6279 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/0.5723, allocations: 26.56 kB / 0.628 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006527/0.5789, allocations: 2.816 MB / 0.6307 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5789, allocations: 1.094 kB / 0.6307 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/0.584, allocations: 1.921 MB / 0.6326 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.5844, allocations: 221.7 kB / 0.6328 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.5845, allocations: 12.97 kB / 0.6328 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.585, allocations: 41.3 kB / 0.6329 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.5852, allocations: 60.31 kB / 0.6329 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.5853, allocations: 21.67 kB / 0.6329 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004433/0.5857, allocations: 331.4 kB / 0.6332 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5857, allocations: 0 / 0.6332 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008914/0.5866, allocations: 229.6 kB / 0.6335 GB, free: 31.37 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.001297/0.588, allocations: 0.5158 MB / 0.634 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002519/0.5905, allocations: 1.127 MB / 0.6351 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5905, allocations: 0 / 0.6351 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.592, allocations: 0.7029 MB / 0.6358 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.5927, allocations: 83.12 kB / 0.6358 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.5961, allocations: 1.857 MB / 0.6377 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.5966, allocations: 0.9338 MB / 0.6386 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.5969, allocations: 62.5 kB / 0.6386 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of SimCode: time 8.81e-07/0.5969, allocations: 1 kB / 0.6386 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.02857/0.6254, allocations: 12.7 MB / 0.651 GB, free: 27.11 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)