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.001161/0.001161, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001123/0.001123, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.167/1.167, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1624/0.1624, allocations: 22.35 MB / 312.4 MB, free: 12.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.89 kB / 380.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2022, allocations: 54.94 MB / 435.4 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002166/0.2044, allocations: 2.156 MB / 437.5 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002205/0.2046, allocations: 156.2 kB / 437.7 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.2047, allocations: 5.969 kB / 437.7 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.262e-05/0.2047, allocations: 14.62 kB / 437.7 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2048, allocations: 50.22 kB / 437.7 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.2049, allocations: 36.42 kB / 437.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2051, allocations: 191.2 kB / 438 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.2052, allocations: 99.58 kB / 438.1 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.2053, allocations: 71.33 kB / 438.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.2054, allocations: 71.3 kB / 438.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.2054, allocations: 18.59 kB / 438.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.2054, allocations: 16.41 kB / 438.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.2055, allocations: 41.38 kB / 438.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.2055, allocations: 86.12 kB / 438.3 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2056, allocations: 192.7 kB / 438.5 MB, free: 37.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2056, allocations: 3.234 kB / 438.5 MB, free: 37.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2056, allocations: 4 kB / 438.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2057, allocations: 0 / 438.5 MB, free: 37.59 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.0003874/0.2061, allocations: 456 kB / 439 MB, free: 37.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.2061, allocations: 9.656 kB / 439 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.2061, allocations: 51.55 kB / 439 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.2062, allocations: 16.41 kB / 439.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.277e-05/0.2062, allocations: 188.7 kB / 439.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2063, allocations: 20.61 kB / 439.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.2063, allocations: 16.16 kB / 439.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.2065, allocations: 157.3 kB / 439.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2065, allocations: 3.938 kB / 439.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2066, allocations: 10.84 kB / 439.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2066, allocations: 9.5 kB / 439.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.2068, allocations: 109.6 kB / 439.6 MB, free: 36.75 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.0006051/0.2074, allocations: 0.8591 MB / 440.4 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.2075, allocations: 121.2 kB / 440.5 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2077, allocations: 86.33 kB / 440.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.2077, allocations: 2.844 kB / 440.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.2077, allocations: 33.98 kB / 440.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.2077, allocations: 0 / 440.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002867/0.208, allocations: 168.4 kB / 440.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/0.208, allocations: 51.41 kB / 440.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.2081, allocations: 131.9 kB / 441 MB, free: 35.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.2081, allocations: 25.7 kB / 441 MB, free: 35.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.2081, allocations: 126.8 kB / 441.2 MB, free: 35.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2082, allocations: 62.14 kB / 441.2 MB, free: 35.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.2082, allocations: 37.08 kB / 441.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.2083, allocations: 325.5 kB / 441.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.2083, allocations: 43.47 kB / 441.6 MB, free: 35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.2084, allocations: 71.06 kB / 441.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.2089, allocations: 227.8 kB / 441.9 MB, free: 34.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2089, allocations: 0 / 441.9 MB, free: 34.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002054/0.2091, allocations: 171.1 kB / 442.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.2091, allocations: 7.469 kB / 442.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2091, allocations: 0 / 442.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2092, allocations: 3.906 kB / 442.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2093, allocations: 38.58 kB / 442.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2093, allocations: 10.47 kB / 442.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.2094, allocations: 16.97 kB / 442.2 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2094, allocations: 5.062 kB / 442.2 MB, free: 34.72 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.2096, allocations: 163.5 kB / 442.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.2096, allocations: 6.781 kB / 442.3 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.2097, allocations: 15.75 kB / 442.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2097, allocations: 4 kB / 442.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2097, allocations: 10.09 kB / 442.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2097, allocations: 0 / 442.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.2098, allocations: 252 kB / 442.6 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2099, allocations: 0 / 442.6 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.21, allocations: 39.03 kB / 442.6 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.21, allocations: 7.875 kB / 442.6 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.21, allocations: 0 / 442.6 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2101, allocations: 2.906 kB / 442.6 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2101, allocations: 3.938 kB / 442.7 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.2103, allocations: 283 kB / 442.9 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.2104, allocations: 97.97 kB / 443 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2104, allocations: 0 / 443 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.2105, allocations: 6.906 kB / 443 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.2105, allocations: 12.67 kB / 443 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2105, allocations: 6.875 kB / 443 MB, free: 34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.63e-05/0.2105, allocations: 96.69 kB / 443.1 MB, free: 33.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2106, allocations: 4.062 kB / 443.1 MB, free: 33.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.2108, allocations: 44.97 kB / 443.2 MB, free: 33.91 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 (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.000376/0.2112, allocations: 0.8125 MB / 444 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.2114, allocations: 119.6 kB / 444.1 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2114, allocations: 0 / 444.1 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.2115, allocations: 57.08 kB / 444.2 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.2117, allocations: 15.17 kB / 444.2 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.2131, allocations: 1.936 MB / 446.1 MB, free: 31.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.291e-05/0.2132, allocations: 0.7182 MB / 446.8 MB, free: 30.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.48e-05/0.2132, allocations: 13.61 kB / 446.9 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.2133, allocations: 41 kB / 446.9 MB, free: 30.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2133, allocations: 0 / 446.9 MB, free: 30.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7036/0.9169, allocations: 2.511 MB / 449.4 MB, free: 30.49 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.9171, allocations: 249.7 kB / 449.7 MB, free: 30.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.424, allocations: 0 / 449.7 MB, free: 30.24 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/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)