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.001025/0.001025, allocations: 99 kB / 15.05 MB, free: 1.105 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.0009389/0.0009391, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2206/0.2206, allocations: 22.34 MB / 313.3 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002999, allocations: 8 kB / 381.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2807, allocations: 55.98 MB / 437.9 MB, free: 39.1 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.002802/0.2836, allocations: 2.787 MB / 440.7 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.2845, allocations: 0.6076 MB / 441.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.2847, allocations: 15.25 kB / 441.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.2849, allocations: 51.47 kB / 441.4 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.2852, allocations: 121.9 kB / 441.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.2856, allocations: 227.9 kB / 441.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.286, allocations: 430.4 kB / 442.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.2864, allocations: 244.3 kB / 442.4 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.2865, allocations: 178.8 kB / 442.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.2868, allocations: 226.3 kB / 442.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.2869, allocations: 22.91 kB / 442.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.2869, allocations: 19.97 kB / 442.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.287, allocations: 100.3 kB / 442.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.2871, allocations: 113.2 kB / 443 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.2874, allocations: 496.9 kB / 443.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2874, allocations: 0 / 443.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2874, allocations: 0 / 443.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.2875, allocations: 0 / 443.5 MB, free: 35.66 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.001137/0.2886, allocations: 0.788 MB / 444.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2886, allocations: 9.312 kB / 444.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.837e-05/0.2887, allocations: 98.84 kB / 444.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.271e-05/0.2888, allocations: 66.41 kB / 444.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.2892, allocations: 367.8 kB / 444.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.2892, allocations: 48.88 kB / 444.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.2893, allocations: 59.16 kB / 444.9 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.2902, allocations: 0.5838 MB / 445.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2902, allocations: 3.953 kB / 445.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.2903, allocations: 21.75 kB / 445.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.2903, allocations: 11.69 kB / 445.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.2911, allocations: 451.6 kB / 446 MB, free: 34.23 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.002157/0.2933, allocations: 2.034 MB / 448 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008041/0.2941, allocations: 464.5 kB / 448.5 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.2942, allocations: 9.031 kB / 448.5 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2942, allocations: 38.33 kB / 448.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.903e-06/0.2942, allocations: 3.312 kB / 448.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001311/0.2955, allocations: 0.6352 MB / 449.2 MB, free: 32.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.2956, allocations: 132 kB / 449.3 MB, free: 32.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.2958, allocations: 282.8 kB / 449.6 MB, free: 32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.2959, allocations: 32.42 kB / 449.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.296, allocations: 263.5 kB / 449.8 MB, free: 31.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.2961, allocations: 179.9 kB / 450 MB, free: 31.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.2962, allocations: 11.94 kB / 450 MB, free: 31.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.2962, allocations: 358.3 kB / 450.4 MB, free: 31.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/0.2966, allocations: 174.5 kB / 450.6 MB, free: 31.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.2972, allocations: 262.9 kB / 450.8 MB, free: 31.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.2976, allocations: 206.9 kB / 451 MB, free: 30.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2977, allocations: 2.688 kB / 451 MB, free: 30.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001176/0.2988, allocations: 0.53 MB / 451.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.299, allocations: 0.5301 MB / 452.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.299, allocations: 2.75 kB / 452.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.299, allocations: 10.45 kB / 452.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.2999, allocations: 129.4 kB / 452.2 MB, free: 30.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.2999, allocations: 5.25 kB / 452.2 MB, free: 30.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.3005, allocations: 65.94 kB / 452.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.3005, allocations: 19.75 kB / 452.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.3005, allocations: 6.562 kB / 452.3 MB, free: 30.15 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000969/0.3015, allocations: 393.8 kB / 452.7 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3015, allocations: 0 / 452.7 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.3016, allocations: 5.25 kB / 452.7 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.3023, allocations: 109.8 kB / 452.8 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3023, allocations: 11 kB / 452.8 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.3028, allocations: 51.22 kB / 452.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.3028, allocations: 17.97 kB / 452.9 MB, free: 29.95 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 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 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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004691/0.3033, allocations: 302.8 kB / 453.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3034, allocations: 40.16 kB / 453.2 MB, free: 29.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.3052, allocations: 0.6221 MB / 453.8 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.3052, allocations: 5.406 kB / 453.9 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.3052, allocations: 0 / 453.9 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3052, allocations: 3.422 kB / 453.9 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009643/0.3062, allocations: 0.6021 MB / 454.5 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3062, allocations: 0 / 454.5 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.3072, allocations: 141.2 kB / 454.6 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.3073, allocations: 2.75 kB / 454.6 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.3073, allocations: 14.81 kB / 454.6 MB, free: 29.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.3074, allocations: 2.969 kB / 454.6 MB, free: 29.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3074, allocations: 7.5 kB / 454.6 MB, free: 29.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.3094, allocations: 0.9205 MB / 455.5 MB, free: 28.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3096, allocations: 119.6 kB / 455.7 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3097, allocations: 13.94 kB / 455.7 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.3102, allocations: 43 kB / 455.7 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3103, allocations: 39.78 kB / 455.8 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.3104, allocations: 19.94 kB / 455.8 MB, free: 28.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002792/0.3107, allocations: 200 kB / 456 MB, free: 28.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3107, allocations: 0 / 456 MB, free: 28.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00116/0.3119, allocations: 237.9 kB / 456.2 MB, free: 28.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002621/0.3145, allocations: 1.474 MB / 457.7 MB, free: 27.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.3165, allocations: 0.6889 MB / 458.4 MB, free: 27.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3166, allocations: 0 / 458.4 MB, free: 27.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.3172, allocations: 283.3 kB / 458.6 MB, free: 27.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.3179, allocations: 64.83 kB / 458.7 MB, free: 26.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006194/0.3241, allocations: 3.742 MB / 462.4 MB, free: 24.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.3245, allocations: 0.886 MB / 463.3 MB, free: 23.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004394/0.325, allocations: 82.69 kB / 463.4 MB, free: 23.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.3253, allocations: 198 kB / 463.6 MB, free: 23.75 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3253, allocations: 5.031 kB / 463.6 MB, free: 23.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.3594, allocations: 8.6 MB / 472.2 MB, free: 23.21 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.3597, allocations: 241.3 kB / 472.4 MB, free: 22.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.387, allocations: 9.219 kB / 472.5 MB, free: 22.97 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/linux/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) Environment - environmentSimulation: