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_02_LocFirst.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_02_LocFirst,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_02_LocFirst",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_02_LocFirst",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.0009884/0.0009885, 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.004891/0.004891, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.169/0.169, allocations: 22.35 MB / 313.8 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 12 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2707, allocations: 55.97 MB / 438.7 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst): time 0.002272/0.273, allocations: 3.046 MB / 441.7 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.2737, allocations: 0.6146 MB / 442.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.2739, allocations: 10.91 kB / 442.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.274, allocations: 51.39 kB / 442.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.2743, allocations: 107.6 kB / 442.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.2747, allocations: 266.5 kB / 442.8 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.2751, allocations: 0.6453 MB / 443.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.2754, allocations: 271.6 kB / 443.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2756, allocations: 190.6 kB / 443.9 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.2757, allocations: 230.2 kB / 444.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.2758, allocations: 21.59 kB / 444.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.2759, allocations: 23.31 kB / 444.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.2759, allocations: 103 kB / 444.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.2761, allocations: 268.2 kB / 444.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.2764, allocations: 0.6218 MB / 445.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2764, allocations: 0 / 445.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.2764, allocations: 0 / 445.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2764, allocations: 0 / 445.1 MB, free: 35.3 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.0009791/0.2774, allocations: 0.7897 MB / 445.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.2775, allocations: 13.97 kB / 445.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.873e-05/0.2775, allocations: 100.8 kB / 446 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.2776, allocations: 62.66 kB / 446.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.2779, allocations: 383.3 kB / 446.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.278, allocations: 41.66 kB / 446.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.278, allocations: 59.77 kB / 446.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.2789, allocations: 0.5842 MB / 447.1 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2789, allocations: 6.906 kB / 447.2 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.279, allocations: 18.88 kB / 447.2 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.279, allocations: 18.66 kB / 447.2 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008095/0.2798, allocations: 467.7 kB / 447.6 MB, free: 33.83 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.001893/0.2817, allocations: 2.036 MB / 449.7 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/0.2824, allocations: 469 kB / 450.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.2829, allocations: 274.5 kB / 450.4 MB, free: 32.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.2829, allocations: 12.78 kB / 450.4 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.2829, allocations: 41.5 kB / 450.5 MB, free: 32.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.552e-06/0.2829, allocations: 0 / 450.5 MB, free: 32.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.00115/0.2841, allocations: 0.6336 MB / 451.1 MB, free: 31.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2841, allocations: 134.2 kB / 451.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2843, allocations: 285 kB / 451.5 MB, free: 31.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.2844, allocations: 36.27 kB / 451.5 MB, free: 31.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.2845, allocations: 264 kB / 451.8 MB, free: 31.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.2846, allocations: 173.3 kB / 452 MB, free: 31.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.2846, allocations: 45.36 kB / 452 MB, free: 31.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.2847, allocations: 352.7 kB / 452.4 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.285, allocations: 181.8 kB / 452.5 MB, free: 30.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.2854, allocations: 272.9 kB / 452.8 MB, free: 30.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.2887, allocations: 1.02 MB / 453.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2887, allocations: 3.844 kB / 453.8 MB, free: 30.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008509/0.2896, allocations: 0.5325 MB / 454.4 MB, free: 30 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.2896, allocations: 136.1 kB / 454.5 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2896, allocations: 0 / 454.5 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2897, allocations: 4.781 kB / 454.5 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.2902, allocations: 130.1 kB / 454.6 MB, free: 29.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2902, allocations: 10.7 kB / 454.6 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.2905, allocations: 68.44 kB / 454.7 MB, free: 29.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.2905, allocations: 15.81 kB / 454.7 MB, free: 29.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-06/0.2905, allocations: 3.656 kB / 454.7 MB, free: 29.81 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005757/0.2911, allocations: 395.3 kB / 455.1 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.2911, allocations: 3.094 kB / 455.1 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-06/0.2911, allocations: 2.531 kB / 455.1 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.2915, allocations: 112.5 kB / 455.2 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.2915, allocations: 7.688 kB / 455.2 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.2918, allocations: 56.48 kB / 455.3 MB, free: 29.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.2918, allocations: 15.72 kB / 455.3 MB, free: 29.61 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.0002335/0.292, allocations: 306.7 kB / 455.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.2921, allocations: 39.22 kB / 455.6 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.2932, allocations: 0.6277 MB / 456.3 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.2932, allocations: 6.469 kB / 456.3 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2932, allocations: 0 / 456.3 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2932, allocations: 4.859 kB / 456.3 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.2937, allocations: 0.5895 MB / 456.9 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2937, allocations: 5.031 kB / 456.9 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.2943, allocations: 138.4 kB / 457 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2943, allocations: 3.344 kB / 457 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.2943, allocations: 15.36 kB / 457 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2944, allocations: 2.531 kB / 457 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2944, allocations: 3.938 kB / 457 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.2957, allocations: 0.9215 MB / 457.9 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.2957, allocations: 121.9 kB / 458.1 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.2958, allocations: 16 kB / 458.1 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.2961, allocations: 45.12 kB / 458.1 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.2962, allocations: 35.73 kB / 458.2 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.2962, allocations: 16.53 kB / 458.2 MB, free: 28.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2963, allocations: 203.8 kB / 458.4 MB, free: 28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2963, allocations: 4 kB / 458.4 MB, free: 28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005115/0.2969, allocations: 242 kB / 458.6 MB, free: 27.93 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.001442/0.2983, allocations: 1.48 MB / 460.1 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.2994, allocations: 0.6873 MB / 460.8 MB, free: 26.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2995, allocations: 4.125 kB / 460.8 MB, free: 26.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.2999, allocations: 277.8 kB / 461.1 MB, free: 26.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.3004, allocations: 76.73 kB / 461.1 MB, free: 26.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.3052, allocations: 4.619 MB / 465.8 MB, free: 23.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3055, allocations: 0.8743 MB / 466.6 MB, free: 23.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.3058, allocations: 82.27 kB / 466.7 MB, free: 23.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.306, allocations: 198.5 kB / 466.9 MB, free: 22.96 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3061, allocations: 0 / 466.9 MB, free: 22.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5856/0.8917, allocations: 8.836 MB / 475.7 MB, free: 22.1 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.8919, allocations: 272 kB / 476 MB, free: 21.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/3.814, allocations: 6.5 kB / 476 MB, free: 21.74 MB / 350.1 MB (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.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_02_LocFirst_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_02_LocFirst.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe 2>&1)