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.007496/0.007495, allocations: 102.3 kB / 15.73 MB, free: 5.516 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.001715/0.001715, allocations: 193.5 kB / 16.67 MB, free: 5.449 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 14.88 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.8686/0.8686, allocations: 143 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.88 kB / 0.5954 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1593, allocations: 82.02 MB / 0.6755 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004498/0.1639, allocations: 3.245 MB / 0.6787 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003852/0.1678, allocations: 2.57 MB / 0.6812 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.1682, allocations: 4 kB / 0.6812 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.1687, allocations: 99.09 kB / 0.6813 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.1692, allocations: 198.6 kB / 0.6815 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1704, allocations: 490.8 kB / 0.6819 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008884/0.1713, allocations: 0.8537 MB / 0.6828 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.1717, allocations: 321.2 kB / 0.6831 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/0.1722, allocations: 339 kB / 0.6834 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.1727, allocations: 390.6 kB / 0.6838 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.1728, allocations: 88 kB / 0.6838 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006013/0.1734, allocations: 375.5 kB / 0.6842 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.1737, allocations: 235.4 kB / 0.6844 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.174, allocations: 397.9 kB / 0.6848 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.1752, allocations: 1.148 MB / 0.6859 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1753, allocations: 0 / 0.6859 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1753, allocations: 0 / 0.6859 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.1753, allocations: 0 / 0.6859 GB, free: 15.83 MB / 0.5294 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.001965/0.1773, allocations: 1.137 MB / 0.687 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1773, allocations: 12.03 kB / 0.687 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.1776, allocations: 92.42 kB / 0.6871 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.1782, allocations: 497.8 kB / 0.6876 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.1784, allocations: 94.94 kB / 0.6877 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.911e-05/0.1785, allocations: 59.95 kB / 0.6878 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.1801, allocations: 0.8017 MB / 0.6885 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1801, allocations: 0 / 0.6885 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.1802, allocations: 24 kB / 0.6886 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.1802, allocations: 16 kB / 0.6886 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.182, allocations: 0.7935 MB / 0.6894 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.1859, allocations: 2.722 MB / 0.692 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.1875, allocations: 0.7173 MB / 0.6927 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000918/0.1884, allocations: 438.2 kB / 0.6931 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.189, allocations: 0.5194 MB / 0.6936 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1891, allocations: 46.98 kB / 0.6937 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/0.1891, allocations: 0 / 0.6937 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.008847/0.1979, allocations: 2.265 MB / 0.6959 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/0.198, allocations: 136.9 kB / 0.696 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.1987, allocations: 469.9 kB / 0.6965 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.96e-05/0.1988, allocations: 33.7 kB / 0.6965 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.199, allocations: 316.9 kB / 0.6968 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.1991, allocations: 218.1 kB / 0.697 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.1994, allocations: 118.2 kB / 0.6971 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1995, allocations: 362.8 kB / 0.6975 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007408/0.2003, allocations: 308.9 kB / 0.6978 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/0.2011, allocations: 399.1 kB / 0.6982 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00467/0.2057, allocations: 1.835 MB / 0.6999 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2058, allocations: 0 / 0.6999 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004424/0.2102, allocations: 1.361 MB / 0.7013 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.2103, allocations: 63.39 kB / 0.7013 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004277/0.2146, allocations: 1.299 MB / 0.7026 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/0.2155, allocations: 336.5 kB / 0.7029 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.2161, allocations: 119.8 kB / 0.703 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008175/0.2243, allocations: 3.08 MB / 0.706 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/0.2249, allocations: 71.67 kB / 0.7061 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/0.225, allocations: 24 kB / 0.7061 GB, free: 10.3 MB / 0.545 GB Warning: Assuming fixed start value for the following 3 variables: R3C2_1.Tint.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real R3C2_1.Ts.T:VARIABLE(min = 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.0004696/0.2255, allocations: 297.7 kB / 0.7064 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.2257, allocations: 59.62 kB / 0.7065 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004488/0.2301, allocations: 1.365 MB / 0.7078 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.2302, allocations: 4 kB / 0.7078 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2302, allocations: 0 / 0.7078 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2302, allocations: 0 / 0.7078 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.2312, allocations: 0.7482 MB / 0.7085 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00425/0.2355, allocations: 1.282 MB / 0.7098 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.236, allocations: 91.88 kB / 0.7099 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008945/0.2369, allocations: 328.6 kB / 0.7102 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.115e-05/0.2369, allocations: 19.98 kB / 0.7102 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008139/0.2451, allocations: 3.08 MB / 0.7132 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.2451, allocations: 4 kB / 0.7132 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/0.2506, allocations: 1.918 MB / 0.7151 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.251, allocations: 208.6 kB / 0.7153 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.2511, allocations: 12 kB / 0.7153 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.2515, allocations: 39.89 kB / 0.7153 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.2518, allocations: 64.42 kB / 0.7154 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.2518, allocations: 23.98 kB / 0.7154 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004157/0.2522, allocations: 335.1 kB / 0.7158 GB, free: 176 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2523, allocations: 0 / 0.7158 GB, free: 176 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007527/0.253, allocations: 227.5 kB / 0.716 GB, free: 15.95 MB / 0.5606 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.001211/0.2542, allocations: 0.5181 MB / 0.7165 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.2569, allocations: 1.139 MB / 0.7176 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2569, allocations: 0 / 0.7176 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.2585, allocations: 0.6979 MB / 0.7183 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.2591, allocations: 85.19 kB / 0.7184 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.2619, allocations: 1.534 MB / 0.7198 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.2626, allocations: 0.9338 MB / 0.7208 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004214/0.263, allocations: 125.1 kB / 0.7209 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2632, allocations: 55.34 kB / 0.7209 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.2632, allocations: 0 / 0.7209 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.018/0.2812, allocations: 11.28 MB / 0.7319 GB, free: 15.7 MB / 0.5762 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)