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.001322/0.001322, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001146/0.001146, allocations: 194.5 kB / 16.26 MB, free: 6.621 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.296/1.296, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.9618/0.9618, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 59.91 kB / 0.5136 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1516, allocations: 82.04 MB / 0.5938 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004317/0.156, allocations: 3.256 MB / 0.5969 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003522/0.1595, allocations: 2.515 MB / 0.5994 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.1598, allocations: 4 kB / 0.5994 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.1602, allocations: 83.47 kB / 0.5995 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.1606, allocations: 159 kB / 0.5996 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008891/0.1615, allocations: 437.4 kB / 0.6001 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007816/0.1623, allocations: 0.8499 MB / 0.6009 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004254/0.1628, allocations: 325.6 kB / 0.6012 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.1631, allocations: 346.9 kB / 0.6015 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.1636, allocations: 386.6 kB / 0.6019 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1638, allocations: 88 kB / 0.602 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.1643, allocations: 367.5 kB / 0.6023 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.1645, allocations: 247.2 kB / 0.6026 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.1648, allocations: 398 kB / 0.6029 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2511/0.4159, allocations: 1.125 MB / 0.604 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.416, allocations: 3.344 kB / 0.604 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.416, allocations: 0 / 0.604 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.949e-05/0.416, allocations: 0 / 0.604 GB, free: 38.65 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.001725/0.4177, allocations: 1.113 MB / 0.6051 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4178, allocations: 8.781 kB / 0.6051 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.418, allocations: 86.25 kB / 0.6052 GB, free: 37.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.4185, allocations: 492.6 kB / 0.6057 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.4186, allocations: 91.44 kB / 0.6058 GB, free: 37.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-05/0.4187, allocations: 64.08 kB / 0.6058 GB, free: 37.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.4201, allocations: 0.7933 MB / 0.6066 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.4201, allocations: 1.031 kB / 0.6066 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.4202, allocations: 29.53 kB / 0.6066 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4202, allocations: 13.5 kB / 0.6067 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.4219, allocations: 0.7957 MB / 0.6074 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.4251, allocations: 2.735 MB / 0.6101 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.4267, allocations: 0.707 MB / 0.6108 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008756/0.4275, allocations: 437.3 kB / 0.6112 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/0.4281, allocations: 0.5157 MB / 0.6117 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4282, allocations: 49.03 kB / 0.6118 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 3.006e-06/0.4282, allocations: 0 / 0.6118 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.008358/0.4365, allocations: 2.257 MB / 0.614 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.4366, allocations: 141 kB / 0.6141 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.4371, allocations: 468.5 kB / 0.6145 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.4372, allocations: 34.48 kB / 0.6146 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4373, allocations: 318.7 kB / 0.6149 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.4375, allocations: 210.1 kB / 0.6151 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.4377, allocations: 109 kB / 0.6152 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.4377, allocations: 370.2 kB / 0.6155 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.4384, allocations: 302.4 kB / 0.6158 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/0.439, allocations: 396.1 kB / 0.6162 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004103/0.4432, allocations: 1.848 MB / 0.618 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4432, allocations: 0.5625 kB / 0.618 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003983/0.4472, allocations: 1.358 MB / 0.6193 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.4472, allocations: 69.95 kB / 0.6194 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003993/0.4512, allocations: 1.299 MB / 0.6207 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007772/0.452, allocations: 327.6 kB / 0.621 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.4525, allocations: 117.6 kB / 0.6211 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007468/0.46, allocations: 3.082 MB / 0.6241 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.4606, allocations: 75.44 kB / 0.6242 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/0.4607, allocations: 28.72 kB / 0.6242 GB, free: 30.78 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.000462/0.4612, allocations: 312.2 kB / 0.6245 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.4613, allocations: 55.56 kB / 0.6246 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/0.4656, allocations: 1.387 MB / 0.6259 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4656, allocations: 9.656 kB / 0.6259 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.4656, allocations: 3.25 kB / 0.6259 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4656, allocations: 3.188 kB / 0.6259 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007698/0.4664, allocations: 0.7516 MB / 0.6267 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003888/0.4703, allocations: 1.278 MB / 0.6279 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.4707, allocations: 94.61 kB / 0.628 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007627/0.4715, allocations: 320.5 kB / 0.6283 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.4716, allocations: 21.69 kB / 0.6283 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007208/0.4788, allocations: 3.091 MB / 0.6313 GB, free: 27.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4788, allocations: 0 / 0.6313 GB, free: 27.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/0.4837, allocations: 1.905 MB / 0.6332 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.484, allocations: 218.3 kB / 0.6334 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4841, allocations: 13.41 kB / 0.6334 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.4845, allocations: 33.67 kB / 0.6335 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.4847, allocations: 63.16 kB / 0.6335 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.4848, allocations: 25.62 kB / 0.6335 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003638/0.4852, allocations: 333.4 kB / 0.6339 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4852, allocations: 0 / 0.6339 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007247/0.4859, allocations: 227.8 kB / 0.6341 GB, free: 26.46 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.001261/0.4872, allocations: 0.5187 MB / 0.6346 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002801/0.49, allocations: 1.252 MB / 0.6358 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.49, allocations: 0.6875 kB / 0.6358 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.4915, allocations: 0.7028 MB / 0.6365 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.4923, allocations: 79.14 kB / 0.6366 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.496, allocations: 1.828 MB / 0.6384 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.4965, allocations: 0.9325 MB / 0.6393 GB, free: 23.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004384/0.4969, allocations: 128.9 kB / 0.6394 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.4971, allocations: 46.48 kB / 0.6394 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.4971, allocations: 1.375 kB / 0.6394 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.02313/0.5203, allocations: 11.18 MB / 0.6503 GB, free: 22.76 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)