Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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: "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_01_CenFirst",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_01_CenFirst",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008077/0.0008077, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004657/0.004657, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.153/1.153, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1736/0.1736, allocations: 22.36 MB / 313.8 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.000249, allocations: 8 kB / 382.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2162, allocations: 55.99 MB / 438.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst): time 0.00223/0.2185, allocations: 3.041 MB / 441.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007435/0.2193, allocations: 0.6092 MB / 442.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2194, allocations: 12.97 kB / 442.4 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2196, allocations: 52.52 kB / 442.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.2198, allocations: 102.4 kB / 442.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.2202, allocations: 276.8 kB / 442.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.2206, allocations: 0.6371 MB / 443.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.2209, allocations: 278.5 kB / 443.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.2211, allocations: 191.8 kB / 443.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.2213, allocations: 226 kB / 444.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.2213, allocations: 22.97 kB / 444.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.823e-05/0.2214, allocations: 23.22 kB / 444.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.2215, allocations: 104.5 kB / 444.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.2216, allocations: 272.9 kB / 444.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.2219, allocations: 0.6128 MB / 445.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2219, allocations: 0 / 445.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2219, allocations: 0 / 445.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.222, allocations: 2.75 kB / 445.1 MB, free: 35.34 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0009631/0.2229, allocations: 0.7931 MB / 445.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.223, allocations: 14 kB / 445.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.707e-05/0.223, allocations: 93.33 kB / 446 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.2231, allocations: 68.19 kB / 446.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.2234, allocations: 383.2 kB / 446.5 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2235, allocations: 44.5 kB / 446.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.2235, allocations: 51.44 kB / 446.6 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007974/0.2243, allocations: 0.591 MB / 447.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.2244, allocations: 6.812 kB / 447.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.2244, allocations: 22.88 kB / 447.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.2244, allocations: 14.38 kB / 447.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007737/0.2252, allocations: 461.6 kB / 447.6 MB, free: 33.88 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.227, allocations: 2.04 MB / 449.7 MB, free: 32.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.2278, allocations: 460.7 kB / 450.1 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.2282, allocations: 280.6 kB / 450.4 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.2283, allocations: 13.3 kB / 450.4 MB, free: 32.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.2283, allocations: 37.56 kB / 450.5 MB, free: 32.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.563e-06/0.2283, allocations: 0 / 450.5 MB, free: 32.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001113/0.2294, allocations: 0.6373 MB / 451.1 MB, free: 31.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2294, allocations: 134.2 kB / 451.2 MB, free: 31.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.2296, allocations: 287.4 kB / 451.5 MB, free: 31.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.2297, allocations: 36.33 kB / 451.5 MB, free: 31.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.2298, allocations: 263.6 kB / 451.8 MB, free: 31.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-05/0.2298, allocations: 173.6 kB / 452 MB, free: 31.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.2299, allocations: 41.59 kB / 452 MB, free: 31.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.23, allocations: 353.8 kB / 452.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.2303, allocations: 180.9 kB / 452.5 MB, free: 30.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.2307, allocations: 275.5 kB / 452.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/0.2339, allocations: 1.018 MB / 453.8 MB, free: 30.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2339, allocations: 0 / 453.8 MB, free: 30.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008401/0.2348, allocations: 0.5429 MB / 454.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.2348, allocations: 120.1 kB / 454.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2348, allocations: 3.219 kB / 454.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2349, allocations: 7.938 kB / 454.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.2354, allocations: 133.5 kB / 454.6 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2354, allocations: 3.406 kB / 454.6 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.2357, allocations: 74.53 kB / 454.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.2357, allocations: 15.62 kB / 454.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-06/0.2357, allocations: 2.75 kB / 454.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005345/0.2363, allocations: 391.8 kB / 455.1 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.2363, allocations: 0 / 455.1 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/0.2363, allocations: 3.875 kB / 455.1 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.2367, allocations: 117.7 kB / 455.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.2367, allocations: 4.031 kB / 455.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.2369, allocations: 51.92 kB / 455.3 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.237, allocations: 19.94 kB / 455.3 MB, free: 29.66 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: Ccen.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))) start = 313.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002849/0.2373, allocations: 302.4 kB / 455.6 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.2373, allocations: 37.88 kB / 455.6 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.2384, allocations: 0.638 MB / 456.3 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2384, allocations: 6.812 kB / 456.3 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2384, allocations: 0 / 456.3 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2384, allocations: 3.938 kB / 456.3 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.2389, allocations: 0.584 MB / 456.9 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.239, allocations: 1.156 kB / 456.9 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.2395, allocations: 138 kB / 457 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2395, allocations: 2.625 kB / 457 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.2396, allocations: 20.31 kB / 457 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2396, allocations: 6.344 kB / 457 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2396, allocations: 3.938 kB / 457 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2409, allocations: 0.9176 MB / 457.9 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.2409, allocations: 128.6 kB / 458.1 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.241, allocations: 12.03 kB / 458.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.2413, allocations: 42.2 kB / 458.1 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.2414, allocations: 39.11 kB / 458.2 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.2414, allocations: 15.41 kB / 458.2 MB, free: 28.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.2415, allocations: 197.1 kB / 458.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2415, allocations: 0 / 458.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.2421, allocations: 241.1 kB / 458.6 MB, free: 27.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Ccen.T,Cloc1.T,C1.FO.y,C2.FO.y,Cloc2.T,Cc.FO.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.2435, allocations: 1.481 MB / 460.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.2446, allocations: 0.6951 MB / 460.8 MB, free: 26.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2446, allocations: 0 / 460.8 MB, free: 26.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.245, allocations: 285.9 kB / 461.1 MB, free: 26.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.2455, allocations: 79.02 kB / 461.1 MB, free: 26.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.2504, allocations: 4.622 MB / 465.8 MB, free: 23.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.2506, allocations: 0.8685 MB / 466.6 MB, free: 23.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.2509, allocations: 81.48 kB / 466.7 MB, free: 23.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.2512, allocations: 197.9 kB / 466.9 MB, free: 23.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2512, allocations: 0 / 466.9 MB, free: 23.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.2698, allocations: 8.841 MB / 475.7 MB, free: 22.12 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001317/0.27, allocations: 269.4 kB / 476 MB, free: 21.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.971, allocations: 3.688 kB / 476 MB, free: 21.76 MB / 350.1 MB (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_01_CenFirst_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_01_CenFirst.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe 2>&1)