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.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001134/0.001134, allocations: 192.2 kB / 16.13 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.9636/0.9636, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.91 kB / 0.5135 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1598, allocations: 82.04 MB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004399/0.1642, allocations: 3.263 MB / 0.5968 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003545/0.1678, allocations: 2.543 MB / 0.5993 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.168, allocations: 7.938 kB / 0.5993 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.1684, allocations: 83.47 kB / 0.5993 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.1689, allocations: 159.1 kB / 0.5995 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.1697, allocations: 425 kB / 0.5999 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.1705, allocations: 0.7639 MB / 0.6006 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.1709, allocations: 296.8 kB / 0.6009 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.1712, allocations: 295 kB / 0.6012 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.1717, allocations: 369.2 kB / 0.6016 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.286e-05/0.1718, allocations: 48 kB / 0.6016 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.1723, allocations: 323.5 kB / 0.6019 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.1725, allocations: 203.2 kB / 0.6021 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.1729, allocations: 350 kB / 0.6024 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.32/0.4929, allocations: 1.09 MB / 0.6035 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.493, allocations: 0 / 0.6035 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.493, allocations: 1.469 kB / 0.6035 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.926e-05/0.4931, allocations: 0 / 0.6035 GB, free: 38.04 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.002278/0.4953, allocations: 1.117 MB / 0.6046 GB, free: 37.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.4954, allocations: 8.188 kB / 0.6046 GB, free: 37.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.4956, allocations: 90.3 kB / 0.6047 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.4962, allocations: 493.7 kB / 0.6052 GB, free: 37.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.4963, allocations: 91.39 kB / 0.6053 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.784e-05/0.4964, allocations: 64.06 kB / 0.6053 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.4979, allocations: 0.796 MB / 0.6061 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.4979, allocations: 0 / 0.6061 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.498, allocations: 25.81 kB / 0.6061 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.498, allocations: 14.72 kB / 0.6061 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.4997, allocations: 0.7985 MB / 0.6069 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.5031, allocations: 2.729 MB / 0.6096 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.5046, allocations: 0.7096 MB / 0.6103 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.5054, allocations: 439.7 kB / 0.6107 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.5059, allocations: 0.5202 MB / 0.6112 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.506, allocations: 40.88 kB / 0.6112 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.756e-06/0.506, allocations: 0 / 0.6112 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.008418/0.5144, allocations: 2.261 MB / 0.6134 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.5145, allocations: 142 kB / 0.6136 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.5151, allocations: 465.8 kB / 0.614 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.92e-05/0.5152, allocations: 34.86 kB / 0.6141 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.5153, allocations: 326 kB / 0.6144 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.5155, allocations: 202.7 kB / 0.6146 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.5157, allocations: 115.3 kB / 0.6147 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.5157, allocations: 367.8 kB / 0.615 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006684/0.5164, allocations: 301.3 kB / 0.6153 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.5171, allocations: 403.5 kB / 0.6157 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004197/0.5213, allocations: 1.843 MB / 0.6175 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5213, allocations: 1.406 kB / 0.6175 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003973/0.5253, allocations: 1.359 MB / 0.6188 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.5254, allocations: 63.22 kB / 0.6189 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003918/0.5293, allocations: 1.297 MB / 0.6201 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008108/0.5301, allocations: 332.1 kB / 0.6205 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.5307, allocations: 119.7 kB / 0.6206 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006685/0.5373, allocations: 2.823 MB / 0.6233 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.5382, allocations: 74.19 kB / 0.6234 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.5382, allocations: 30.97 kB / 0.6234 GB, free: 30.49 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.0005446/0.5388, allocations: 299.3 kB / 0.6237 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.5389, allocations: 63.62 kB / 0.6238 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.5429, allocations: 1.385 MB / 0.6251 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.5429, allocations: 5.969 kB / 0.6251 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5429, allocations: 0 / 0.6251 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.543, allocations: 9.141 kB / 0.6251 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.544, allocations: 0.7521 MB / 0.6259 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003757/0.5477, allocations: 1.278 MB / 0.6271 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.5482, allocations: 94.61 kB / 0.6272 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007248/0.549, allocations: 327.6 kB / 0.6275 GB, free: 29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.549, allocations: 17.22 kB / 0.6275 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006379/0.5554, allocations: 2.826 MB / 0.6303 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5554, allocations: 4.062 kB / 0.6303 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/0.5602, allocations: 1.91 MB / 0.6322 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.5605, allocations: 224.2 kB / 0.6324 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.5606, allocations: 10.53 kB / 0.6324 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.5611, allocations: 34.64 kB / 0.6324 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.5613, allocations: 62.47 kB / 0.6325 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.5613, allocations: 22.11 kB / 0.6325 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003503/0.5617, allocations: 332.3 kB / 0.6328 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5617, allocations: 4 kB / 0.6328 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007093/0.5624, allocations: 233.9 kB / 0.6331 GB, free: 26.31 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.00111/0.5635, allocations: 0.5078 MB / 0.6336 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.5659, allocations: 1.129 MB / 0.6347 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5659, allocations: 0 / 0.6347 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.5673, allocations: 0.7079 MB / 0.6353 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.5679, allocations: 83.44 kB / 0.6354 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.5705, allocations: 1.806 MB / 0.6372 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.5709, allocations: 0.9363 MB / 0.6381 GB, free: 23.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004101/0.5713, allocations: 128.4 kB / 0.6382 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.5715, allocations: 50.47 kB / 0.6383 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.5715, allocations: 0 / 0.6383 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.01907/0.5906, allocations: 10.76 MB / 0.6488 GB, free: 22.63 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)