Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.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_zones_control.Thermal_zones_case_01_openLoop,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop",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.001419/0.001419, allocations: 100.3 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.001467/0.001467, 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2455/0.2455, allocations: 22.35 MB / 313.3 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.000301, allocations: 11.98 kB / 381.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2869, allocations: 55.98 MB / 437.9 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.001666/0.2886, allocations: 1.658 MB / 439.6 MB, free: 38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002488/0.2889, allocations: 175.7 kB / 439.7 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.289, allocations: 5.125 kB / 439.7 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.289, allocations: 17.86 kB / 439.8 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.2891, allocations: 61.66 kB / 439.8 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.2893, allocations: 27.94 kB / 439.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.2894, allocations: 129.5 kB / 440 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.2896, allocations: 75.05 kB / 440 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.2897, allocations: 59.05 kB / 440.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.2898, allocations: 57.98 kB / 440.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.2898, allocations: 8.781 kB / 440.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.2899, allocations: 7.5 kB / 440.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.2899, allocations: 31.7 kB / 440.2 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.2899, allocations: 53.86 kB / 440.3 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2901, allocations: 138.8 kB / 440.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2901, allocations: 4 kB / 440.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2901, allocations: 0 / 440.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2901, allocations: 0 / 440.4 MB, free: 37.56 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004536/0.2905, allocations: 433.7 kB / 440.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2906, allocations: 8.125 kB / 440.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.2906, allocations: 53.73 kB / 440.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.2907, allocations: 21.19 kB / 440.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.2908, allocations: 177.2 kB / 441.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.2909, allocations: 15.91 kB / 441.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.2909, allocations: 27.09 kB / 441.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.2913, allocations: 155.9 kB / 441.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2914, allocations: 3.953 kB / 441.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2914, allocations: 6.594 kB / 441.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2914, allocations: 2.906 kB / 441.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.2916, allocations: 112.3 kB / 441.4 MB, free: 36.74 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.0007144/0.2923, allocations: 0.86 MB / 442.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.2925, allocations: 117.8 kB / 442.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.2925, allocations: 0 / 442.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.2926, allocations: 37.44 kB / 442.4 MB, free: 35.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.2926, allocations: 3.938 kB / 442.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000317/0.2929, allocations: 160.2 kB / 442.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.2929, allocations: 61.66 kB / 442.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.293, allocations: 120 kB / 442.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.293, allocations: 29.7 kB / 442.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.2931, allocations: 131.3 kB / 442.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2931, allocations: 51.59 kB / 442.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.2931, allocations: 4 kB / 442.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.2932, allocations: 320.9 kB / 443.3 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/0.2933, allocations: 36.5 kB / 443.3 MB, free: 35.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.2934, allocations: 84.56 kB / 443.4 MB, free: 35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.351e-05/0.2935, allocations: 50.27 kB / 443.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2935, allocations: 0 / 443.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002249/0.2937, allocations: 167.1 kB / 443.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2937, allocations: 8.594 kB / 443.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2937, allocations: 2.906 kB / 443.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2938, allocations: 2.969 kB / 443.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2939, allocations: 43.06 kB / 443.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.294, allocations: 2.875 kB / 443.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.2941, allocations: 14.03 kB / 443.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2941, allocations: 13.77 kB / 443.7 MB, free: 34.87 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: Cz2.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 Cz1.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: 5 * 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 (22): * Single equations (assignments): 22 * 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.0002132/0.2943, allocations: 162.8 kB / 443.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.2943, allocations: 9.281 kB / 443.8 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.2944, allocations: 22.67 kB / 443.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2944, allocations: 0 / 443.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2944, allocations: 6.625 kB / 443.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2944, allocations: 3.938 kB / 443.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.2947, allocations: 252.9 kB / 444.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2947, allocations: 0 / 444.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.2949, allocations: 38.48 kB / 444.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2949, allocations: 0 / 444.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2949, allocations: 4 kB / 444.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.2949, allocations: 2.844 kB / 444.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2949, allocations: 0 / 444.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.2952, allocations: 284 kB / 444.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.2953, allocations: 95.69 kB / 444.5 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.2953, allocations: 6.875 kB / 444.5 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.2954, allocations: 6.875 kB / 444.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.2954, allocations: 10.23 kB / 444.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.2954, allocations: 7 kB / 444.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.282e-05/0.2955, allocations: 96.89 kB / 444.7 MB, free: 34.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2955, allocations: 7.031 kB / 444.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.2957, allocations: 40.62 kB / 444.7 MB, free: 34.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cz1.T,Cz2.T) * 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 (16): * Single equations (assignments): 16 * 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.0004295/0.2962, allocations: 0.8169 MB / 445.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2964, allocations: 117.4 kB / 445.6 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2964, allocations: 4 kB / 445.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.2965, allocations: 54.38 kB / 445.7 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.2967, allocations: 14.73 kB / 445.7 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2979, allocations: 1.561 MB / 447.3 MB, free: 31.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2981, allocations: 0.7229 MB / 448 MB, free: 31.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.858e-05/0.2981, allocations: 13.72 kB / 448 MB, free: 31.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.2982, allocations: 44.52 kB / 448.1 MB, free: 31.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2982, allocations: 0 / 448.1 MB, free: 31.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.3099, allocations: 2.323 MB / 450.4 MB, free: 31.06 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.3101, allocations: 219.1 kB / 450.6 MB, free: 30.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.05, allocations: 6.875 kB / 450.6 MB, free: 30.82 MB / 350.1 MB (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1) Environment - environmentSimulation: