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.001484/0.001485, allocations: 108.8 kB / 16.41 MB, free: 6.461 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.001556/0.001556, allocations: 187 kB / 17.34 MB, free: 5.719 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.04 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.8987/0.8987, allocations: 143 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 55.94 kB / 0.5961 GB, free: 12.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1731, allocations: 82.03 MB / 0.6762 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.005313/0.1784, allocations: 3.234 MB / 0.6793 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004352/0.1828, allocations: 2.57 MB / 0.6818 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.1833, allocations: 4 kB / 0.6818 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.1838, allocations: 107.1 kB / 0.6819 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005604/0.1844, allocations: 202.6 kB / 0.6821 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1856, allocations: 474.8 kB / 0.6826 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008952/0.1865, allocations: 0.8498 MB / 0.6834 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004614/0.1869, allocations: 329.2 kB / 0.6837 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.1873, allocations: 339 kB / 0.6841 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.1879, allocations: 394.6 kB / 0.6844 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.188, allocations: 88 kB / 0.6845 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.1887, allocations: 363.6 kB / 0.6849 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.1889, allocations: 243.3 kB / 0.6851 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003594/0.1893, allocations: 390 kB / 0.6855 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.1905, allocations: 1.149 MB / 0.6866 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1905, allocations: 8 kB / 0.6866 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1905, allocations: 0 / 0.6866 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.1905, allocations: 0 / 0.6866 GB, free: 15.72 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.002006/0.1925, allocations: 1.107 MB / 0.6877 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1926, allocations: 8.031 kB / 0.6877 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.1928, allocations: 95.89 kB / 0.6878 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.1935, allocations: 485.6 kB / 0.6882 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.1937, allocations: 94.92 kB / 0.6883 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.1938, allocations: 67.91 kB / 0.6884 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.1954, allocations: 0.7978 MB / 0.6892 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.1954, allocations: 4 kB / 0.6892 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.1955, allocations: 24 kB / 0.6892 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.1955, allocations: 23.98 kB / 0.6892 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.1973, allocations: 0.7935 MB / 0.69 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.2014, allocations: 2.702 MB / 0.6926 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.203, allocations: 0.7113 MB / 0.6933 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000935/0.2039, allocations: 438.2 kB / 0.6938 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006381/0.2046, allocations: 0.5272 MB / 0.6943 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.2046, allocations: 39 kB / 0.6943 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 3.717e-06/0.2046, allocations: 0 / 0.6943 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.008793/0.2134, allocations: 2.257 MB / 0.6965 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.2136, allocations: 148.9 kB / 0.6967 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006309/0.2142, allocations: 473.8 kB / 0.6971 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.2143, allocations: 33.7 kB / 0.6971 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.2145, allocations: 316.3 kB / 0.6974 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.2147, allocations: 193.1 kB / 0.6976 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.2149, allocations: 122.1 kB / 0.6977 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2151, allocations: 370.7 kB / 0.6981 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007181/0.2158, allocations: 305 kB / 0.6984 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/0.2166, allocations: 395.1 kB / 0.6988 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004644/0.2213, allocations: 1.839 MB / 0.7006 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.2213, allocations: 4 kB / 0.7006 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004389/0.2257, allocations: 1.365 MB / 0.7019 GB, free: 15.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/0.2258, allocations: 59.41 kB / 0.702 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004161/0.2299, allocations: 1.303 MB / 0.7032 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009218/0.2309, allocations: 332.4 kB / 0.7035 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.2314, allocations: 111.9 kB / 0.7036 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008303/0.2397, allocations: 3.09 MB / 0.7067 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.2404, allocations: 63.5 kB / 0.7067 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.2405, allocations: 31.92 kB / 0.7068 GB, free: 10.23 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.0004971/0.241, allocations: 283.7 kB / 0.707 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2411, allocations: 55.34 kB / 0.7071 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/0.2456, allocations: 1.36 MB / 0.7084 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.2456, allocations: 8.141 kB / 0.7084 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2456, allocations: 0 / 0.7084 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.2456, allocations: 7.969 kB / 0.7084 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009762/0.2466, allocations: 0.7597 MB / 0.7092 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00417/0.2508, allocations: 1.275 MB / 0.7104 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004868/0.2513, allocations: 87.88 kB / 0.7105 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008778/0.2522, allocations: 336.5 kB / 0.7108 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.2522, allocations: 15.98 kB / 0.7108 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008262/0.2605, allocations: 3.072 MB / 0.7138 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.2605, allocations: 0 / 0.7138 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/0.2661, allocations: 1.914 MB / 0.7157 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.2664, allocations: 216.3 kB / 0.7159 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.2665, allocations: 12 kB / 0.7159 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.2669, allocations: 35.95 kB / 0.716 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.2671, allocations: 64.42 kB / 0.716 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.2672, allocations: 23.98 kB / 0.716 GB, free: 460 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004092/0.2676, allocations: 335.1 kB / 0.7164 GB, free: 128 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2676, allocations: 0 / 0.7164 GB, free: 128 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007401/0.2684, allocations: 223.5 kB / 0.7166 GB, free: 15.91 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.001242/0.2696, allocations: 0.5088 MB / 0.7171 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.2722, allocations: 1.139 MB / 0.7182 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2722, allocations: 0 / 0.7182 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.2737, allocations: 0.7019 MB / 0.7189 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.2743, allocations: 89.58 kB / 0.7189 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.2772, allocations: 1.562 MB / 0.7205 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.2778, allocations: 0.9299 MB / 0.7214 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.2781, allocations: 67.34 kB / 0.7214 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.2781, allocations: 0 / 0.7214 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.01763/0.2957, allocations: 12.7 MB / 0.7338 GB, free: 14.29 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)