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.001059/0.001059, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008061/0.008061, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1981/0.1981, allocations: 22.35 MB / 313.8 MB, free: 13.03 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002883, allocations: 15.98 kB / 382.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 55.97 MB / 438.7 MB, free: 39.45 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.002691/0.2285, allocations: 3.044 MB / 441.7 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2297, allocations: 0.6091 MB / 442.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000324/0.23, allocations: 12.81 kB / 442.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.2302, allocations: 47.3 kB / 442.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.2306, allocations: 111.1 kB / 442.5 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.2311, allocations: 269.9 kB / 442.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.2318, allocations: 0.6432 MB / 443.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.2322, allocations: 271 kB / 443.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.2324, allocations: 192.8 kB / 443.9 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.2327, allocations: 232 kB / 444.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.2328, allocations: 24.97 kB / 444.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.2328, allocations: 26.16 kB / 444.1 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.2329, allocations: 100.6 kB / 444.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2331, allocations: 273.5 kB / 444.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.2335, allocations: 0.6154 MB / 445.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2335, allocations: 0 / 445.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2335, allocations: 0 / 445.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.2336, allocations: 0 / 445.1 MB, free: 35.43 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.001144/0.2347, allocations: 0.7915 MB / 445.9 MB, free: 34.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2348, allocations: 13.56 kB / 445.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.2349, allocations: 96.94 kB / 446 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.235, allocations: 70.31 kB / 446.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.2353, allocations: 380.3 kB / 446.5 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2354, allocations: 43.62 kB / 446.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/0.2354, allocations: 52.28 kB / 446.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009529/0.2364, allocations: 0.5962 MB / 447.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2364, allocations: 3.938 kB / 447.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.2365, allocations: 19.66 kB / 447.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2365, allocations: 14.56 kB / 447.2 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008495/0.2374, allocations: 456.4 kB / 447.6 MB, free: 33.97 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.002089/0.2395, allocations: 2.039 MB / 449.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.2403, allocations: 470.2 kB / 450.1 MB, free: 32.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.2407, allocations: 275.9 kB / 450.4 MB, free: 32.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.2408, allocations: 13.7 kB / 450.4 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2408, allocations: 37.88 kB / 450.5 MB, free: 32.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.493e-06/0.2408, allocations: 0 / 450.5 MB, free: 32.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001194/0.242, allocations: 0.6402 MB / 451.1 MB, free: 31.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.242, allocations: 137.6 kB / 451.2 MB, free: 31.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.2422, allocations: 280.8 kB / 451.5 MB, free: 31.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2423, allocations: 36.33 kB / 451.5 MB, free: 31.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.2424, allocations: 255.9 kB / 451.8 MB, free: 31.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/0.2425, allocations: 171.2 kB / 452 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.2425, allocations: 49.88 kB / 452 MB, free: 31.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.2426, allocations: 352.1 kB / 452.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.2429, allocations: 181.1 kB / 452.5 MB, free: 30.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.2433, allocations: 270 kB / 452.8 MB, free: 30.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/0.2467, allocations: 1.025 MB / 453.8 MB, free: 30.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2467, allocations: 0 / 453.8 MB, free: 30.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008796/0.2476, allocations: 0.5388 MB / 454.4 MB, free: 30.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.2477, allocations: 125.5 kB / 454.5 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2477, allocations: 3.688 kB / 454.5 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2477, allocations: 3.375 kB / 454.5 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.2482, allocations: 136.4 kB / 454.6 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2482, allocations: 3.594 kB / 454.6 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.2486, allocations: 69.44 kB / 454.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.2486, allocations: 20.34 kB / 454.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/0.2486, allocations: 7.688 kB / 454.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005741/0.2492, allocations: 389.4 kB / 455.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.2492, allocations: 0 / 455.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.2492, allocations: 6.094 kB / 455.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.2496, allocations: 114.8 kB / 455.2 MB, free: 29.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2496, allocations: 3.219 kB / 455.2 MB, free: 29.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.2499, allocations: 55.48 kB / 455.3 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.2499, allocations: 20.19 kB / 455.3 MB, free: 29.74 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.0002674/0.2502, allocations: 307.1 kB / 455.6 MB, free: 29.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.2503, allocations: 38.53 kB / 455.6 MB, free: 29.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.2513, allocations: 0.6282 MB / 456.3 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2514, allocations: 6.5 kB / 456.3 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2514, allocations: 0 / 456.3 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2514, allocations: 8.266 kB / 456.3 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.2519, allocations: 0.5888 MB / 456.9 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2519, allocations: 1.25 kB / 456.9 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.2525, allocations: 133.5 kB / 457 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.2525, allocations: 2.781 kB / 457 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.2526, allocations: 12 kB / 457 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2526, allocations: 3.125 kB / 457 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2526, allocations: 3.234 kB / 457 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.2539, allocations: 0.9243 MB / 457.9 MB, free: 28.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.254, allocations: 120.9 kB / 458.1 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.254, allocations: 19.75 kB / 458.1 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.2543, allocations: 42.56 kB / 458.1 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.2544, allocations: 35.45 kB / 458.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.2544, allocations: 16.44 kB / 458.2 MB, free: 28.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.2546, allocations: 203.8 kB / 458.4 MB, free: 28.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2546, allocations: 0 / 458.4 MB, free: 28.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005725/0.2552, allocations: 240.9 kB / 458.6 MB, free: 28.07 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.00148/0.2566, allocations: 1.477 MB / 460.1 MB, free: 27.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.2578, allocations: 0.6916 MB / 460.8 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2578, allocations: 9.5 kB / 460.8 MB, free: 26.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.2583, allocations: 277.5 kB / 461.1 MB, free: 26.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.2588, allocations: 83.09 kB / 461.1 MB, free: 26.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.264, allocations: 4.622 MB / 465.8 MB, free: 23.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.2643, allocations: 0.8687 MB / 466.6 MB, free: 23.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.2647, allocations: 85.17 kB / 466.7 MB, free: 23.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.2649, allocations: 201.7 kB / 466.9 MB, free: 23.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2649, allocations: 1.031 kB / 466.9 MB, free: 23.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6272/0.8921, allocations: 8.831 MB / 475.7 MB, free: 22.12 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/0.8923, allocations: 276.2 kB / 476 MB, free: 21.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/3.816, allocations: 1.094 kB / 476 MB, free: 21.75 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)