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.00132/0.00132, allocations: 109 kB / 16.41 MB, free: 6.449 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.001288/0.001288, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.15 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.8652/0.8652, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 65.02 kB / 0.5961 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1464, allocations: 82.03 MB / 0.6762 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004653/0.1511, allocations: 3.232 MB / 0.6793 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003859/0.1549, allocations: 2.582 MB / 0.6819 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.1552, allocations: 8 kB / 0.6819 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.1555, allocations: 95.09 kB / 0.682 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.156, allocations: 198.6 kB / 0.6821 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000978/0.157, allocations: 490.8 kB / 0.6826 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009148/0.1579, allocations: 0.8459 MB / 0.6834 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.1583, allocations: 249.3 kB / 0.6837 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.1587, allocations: 343 kB / 0.684 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.1592, allocations: 390.6 kB / 0.6844 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1593, allocations: 88 kB / 0.6845 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005235/0.1599, allocations: 367.6 kB / 0.6848 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.1601, allocations: 243.2 kB / 0.685 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.1604, allocations: 398 kB / 0.6854 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1617, allocations: 1.144 MB / 0.6865 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1617, allocations: 0 / 0.6865 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1617, allocations: 4 kB / 0.6865 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.1617, allocations: 0 / 0.6865 GB, free: 15.79 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.002026/0.1638, allocations: 1.147 MB / 0.6877 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1638, allocations: 8.031 kB / 0.6877 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.164, allocations: 88.42 kB / 0.6878 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.1647, allocations: 497.8 kB / 0.6882 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.1648, allocations: 98.94 kB / 0.6883 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.165, allocations: 59.95 kB / 0.6884 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.1665, allocations: 0.8017 MB / 0.6892 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1666, allocations: 0 / 0.6892 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.1666, allocations: 27.98 kB / 0.6892 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.1667, allocations: 12 kB / 0.6892 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.1685, allocations: 0.8014 MB / 0.69 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.1725, allocations: 2.71 MB / 0.6926 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.1741, allocations: 0.6567 MB / 0.6933 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009298/0.175, allocations: 386.2 kB / 0.6936 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/0.1757, allocations: 0.5272 MB / 0.6942 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1757, allocations: 39 kB / 0.6942 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.104e-06/0.1757, allocations: 0 / 0.6942 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.00871/0.1844, allocations: 2.261 MB / 0.6964 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.389e-05/0.1845, allocations: 140.9 kB / 0.6965 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/0.1851, allocations: 477.9 kB / 0.697 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.1851, allocations: 33.7 kB / 0.697 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.1854, allocations: 316.9 kB / 0.6973 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.1856, allocations: 210.1 kB / 0.6975 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.1858, allocations: 114.2 kB / 0.6976 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1859, allocations: 362.8 kB / 0.698 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007536/0.1867, allocations: 309 kB / 0.6983 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.1875, allocations: 403.1 kB / 0.6987 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/0.1922, allocations: 1.84 MB / 0.7005 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1922, allocations: 4 kB / 0.7005 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004332/0.1966, allocations: 1.353 MB / 0.7018 GB, free: 15.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/0.1966, allocations: 67.39 kB / 0.7019 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004177/0.2008, allocations: 1.299 MB / 0.7031 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009104/0.2017, allocations: 336.5 kB / 0.7034 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.2022, allocations: 119.8 kB / 0.7036 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/0.2103, allocations: 3.076 MB / 0.7066 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.2108, allocations: 71.58 kB / 0.7066 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.2109, allocations: 23.98 kB / 0.7067 GB, free: 10.36 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.0004514/0.2113, allocations: 290.2 kB / 0.7069 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.2115, allocations: 59.62 kB / 0.707 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.2159, allocations: 1.356 MB / 0.7083 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2159, allocations: 12 kB / 0.7083 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2159, allocations: 0 / 0.7083 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2159, allocations: 3.984 kB / 0.7083 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009176/0.2168, allocations: 0.7443 MB / 0.7091 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00415/0.221, allocations: 1.278 MB / 0.7103 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.2214, allocations: 91.88 kB / 0.7104 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008653/0.2223, allocations: 328.5 kB / 0.7107 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.2223, allocations: 27.91 kB / 0.7107 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007958/0.2303, allocations: 3.076 MB / 0.7137 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2303, allocations: 0 / 0.7137 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/0.2355, allocations: 1.914 MB / 0.7156 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.2358, allocations: 212.8 kB / 0.7158 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.2359, allocations: 15.98 kB / 0.7158 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.2363, allocations: 35.97 kB / 0.7159 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.2365, allocations: 76.33 kB / 0.7159 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.2365, allocations: 19.98 kB / 0.7159 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004145/0.237, allocations: 335.1 kB / 0.7163 GB, free: 244 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.237, allocations: 0 / 0.7163 GB, free: 244 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007444/0.2377, allocations: 227.4 kB / 0.7165 GB, free: 16 kB / 0.545 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.001818/0.2395, allocations: 0.5076 MB / 0.717 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002637/0.2422, allocations: 1.077 MB / 0.718 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2422, allocations: 0 / 0.718 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.2437, allocations: 0.6393 MB / 0.7187 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.2442, allocations: 96.11 kB / 0.7187 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.2472, allocations: 1.578 MB / 0.7203 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.2478, allocations: 0.9377 MB / 0.7212 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.2481, allocations: 55.41 kB / 0.7213 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.2481, allocations: 0 / 0.7213 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.01723/0.2653, allocations: 12.77 MB / 0.7337 GB, free: 14.44 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)