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.001193/0.001193, allocations: 97.97 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.00146/0.00146, allocations: 177.3 kB / 15.95 MB, free: 216 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.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2187/0.2187, allocations: 22.34 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 8 kB / 381.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2787, allocations: 55.97 MB / 437.9 MB, free: 39.18 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.002699/0.2815, allocations: 2.798 MB / 440.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2826, allocations: 0.6001 MB / 441.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.2828, allocations: 12.84 kB / 441.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.283, allocations: 50.16 kB / 441.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.2833, allocations: 131.7 kB / 441.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.2837, allocations: 214.1 kB / 441.7 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.2843, allocations: 440.7 kB / 442.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.2846, allocations: 240.2 kB / 442.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2848, allocations: 184 kB / 442.5 MB, free: 36.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.285, allocations: 222.3 kB / 442.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.285, allocations: 21.91 kB / 442.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.349e-05/0.2851, allocations: 22.09 kB / 442.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.2852, allocations: 96.83 kB / 442.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.2853, allocations: 115.8 kB / 443 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.2856, allocations: 0.4893 MB / 443.5 MB, free: 35.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2856, allocations: 0 / 443.5 MB, free: 35.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2857, allocations: 4 kB / 443.5 MB, free: 35.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.2857, allocations: 0 / 443.5 MB, free: 35.74 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.001242/0.2869, allocations: 0.78 MB / 444.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.287, allocations: 12.8 kB / 444.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.2871, allocations: 99.78 kB / 444.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.2872, allocations: 67.67 kB / 444.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.2877, allocations: 366.8 kB / 444.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.2877, allocations: 43.75 kB / 444.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.2878, allocations: 56.97 kB / 444.9 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.2891, allocations: 0.5814 MB / 445.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.2891, allocations: 6.984 kB / 445.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.2892, allocations: 19.03 kB / 445.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.2892, allocations: 13.81 kB / 445.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009339/0.2901, allocations: 461.5 kB / 446 MB, free: 34.3 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.0025/0.2926, allocations: 2.033 MB / 448 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.2938, allocations: 459.1 kB / 448.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.2939, allocations: 14.58 kB / 448.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2939, allocations: 37.97 kB / 448.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 3.056e-06/0.2939, allocations: 0 / 448.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001264/0.2952, allocations: 0.6393 MB / 449.2 MB, free: 32.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.2953, allocations: 137.8 kB / 449.3 MB, free: 32.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.2955, allocations: 274.3 kB / 449.6 MB, free: 32.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.2955, allocations: 40.58 kB / 449.6 MB, free: 32.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2957, allocations: 261.7 kB / 449.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.2958, allocations: 180.5 kB / 450 MB, free: 31.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.2958, allocations: 6.75 kB / 450 MB, free: 31.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.2959, allocations: 349.5 kB / 450.4 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.2962, allocations: 184.9 kB / 450.6 MB, free: 31.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.2966, allocations: 260 kB / 450.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.297, allocations: 207.1 kB / 451 MB, free: 31.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2971, allocations: 2.625 kB / 451 MB, free: 31.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008992/0.298, allocations: 0.5289 MB / 451.6 MB, free: 30.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.2981, allocations: 0.5372 MB / 452.1 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2981, allocations: 2.625 kB / 452.1 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2981, allocations: 6.578 kB / 452.1 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.2987, allocations: 130.2 kB / 452.2 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2987, allocations: 8.844 kB / 452.2 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.299, allocations: 60 kB / 452.3 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.299, allocations: 21.77 kB / 452.3 MB, free: 30.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.2991, allocations: 2.625 kB / 452.3 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005931/0.2997, allocations: 397.6 kB / 452.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2997, allocations: 2.625 kB / 452.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.2997, allocations: 2.625 kB / 452.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.3001, allocations: 110.3 kB / 452.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3001, allocations: 2.625 kB / 452.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.3004, allocations: 50.41 kB / 452.9 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.3005, allocations: 27.72 kB / 452.9 MB, free: 30.03 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.0004477/0.3009, allocations: 291.4 kB / 453.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.301, allocations: 42.69 kB / 453.2 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.3021, allocations: 0.6199 MB / 453.8 MB, free: 29.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3022, allocations: 13.55 kB / 453.9 MB, free: 29.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3022, allocations: 3.609 kB / 453.9 MB, free: 29.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.3022, allocations: 0 / 453.9 MB, free: 29.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.3028, allocations: 0.5972 MB / 454.5 MB, free: 29.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3028, allocations: 0 / 454.5 MB, free: 29.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.3034, allocations: 144.2 kB / 454.6 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.3034, allocations: 0 / 454.6 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.3035, allocations: 18.34 kB / 454.6 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3035, allocations: 6.688 kB / 454.6 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3035, allocations: 0 / 454.6 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3048, allocations: 0.9113 MB / 455.5 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.051e-05/0.3049, allocations: 128.8 kB / 455.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.3049, allocations: 11.53 kB / 455.7 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.3052, allocations: 44.16 kB / 455.7 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.3053, allocations: 39.14 kB / 455.8 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.3053, allocations: 16.56 kB / 455.8 MB, free: 28.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3055, allocations: 197.5 kB / 456 MB, free: 28.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3055, allocations: 0 / 456 MB, free: 28.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006369/0.3062, allocations: 237.8 kB / 456.2 MB, free: 28.35 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.001547/0.3077, allocations: 1.484 MB / 457.7 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.309, allocations: 0.681 MB / 458.4 MB, free: 27.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.309, allocations: 1.281 kB / 458.4 MB, free: 27.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004125/0.3094, allocations: 280.3 kB / 458.6 MB, free: 27.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3098, allocations: 70.88 kB / 458.7 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.3139, allocations: 3.745 MB / 462.4 MB, free: 24.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.3142, allocations: 0.8861 MB / 463.3 MB, free: 23.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003575/0.3145, allocations: 86.52 kB / 463.4 MB, free: 23.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.3148, allocations: 200.7 kB / 463.6 MB, free: 23.83 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3148, allocations: 0 / 463.6 MB, free: 23.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.3371, allocations: 8.595 MB / 472.2 MB, free: 23.3 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.3373, allocations: 260.4 kB / 472.5 MB, free: 23.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.279, allocations: 2.969 kB / 472.5 MB, free: 23.04 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/linux/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) Environment - environmentSimulation: