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.0006601/0.0006602, 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.004588/0.004588, 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.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1771/0.1771, allocations: 22.34 MB / 313.8 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 8 kB / 382.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2191, allocations: 55.98 MB / 438.7 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.001442/0.2206, allocations: 1.798 MB / 440.5 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002772/0.2209, allocations: 151.1 kB / 440.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.221, allocations: 5.219 kB / 440.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.221, allocations: 24.34 kB / 440.7 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.2212, allocations: 44.23 kB / 440.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.2213, allocations: 36.7 kB / 440.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.2214, allocations: 181.4 kB / 440.9 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2216, allocations: 88.94 kB / 441 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.2216, allocations: 54.05 kB / 441.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.2217, allocations: 65.95 kB / 441.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.2217, allocations: 8.375 kB / 441.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.2218, allocations: 8.312 kB / 441.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.2218, allocations: 22.58 kB / 441.2 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.2218, allocations: 110.2 kB / 441.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.222, allocations: 177.3 kB / 441.4 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.222, allocations: 2.812 kB / 441.4 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.222, allocations: 0 / 441.4 MB, free: 37.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.222, allocations: 0 / 441.4 MB, free: 37.5 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.0003576/0.2224, allocations: 436.7 kB / 441.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.2224, allocations: 8.594 kB / 441.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.2224, allocations: 52.28 kB / 441.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.2225, allocations: 19.09 kB / 442 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.384e-05/0.2225, allocations: 175.5 kB / 442.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.2226, allocations: 18.42 kB / 442.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.2226, allocations: 29.41 kB / 442.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.2228, allocations: 158.8 kB / 442.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2228, allocations: 3.938 kB / 442.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2229, allocations: 4 kB / 442.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2229, allocations: 6.281 kB / 442.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.2231, allocations: 111.9 kB / 442.4 MB, free: 36.68 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.0006124/0.2237, allocations: 0.8591 MB / 443.3 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.2238, allocations: 130.6 kB / 443.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/0.224, allocations: 80.8 kB / 443.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.224, allocations: 0 / 443.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.067e-05/0.224, allocations: 37.06 kB / 443.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.224, allocations: 0 / 443.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000278/0.2243, allocations: 163.2 kB / 443.7 MB, free: 35.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.6e-05/0.2243, allocations: 57.94 kB / 443.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.402e-05/0.2244, allocations: 125.1 kB / 443.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.2244, allocations: 29.7 kB / 443.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.2244, allocations: 130.9 kB / 444 MB, free: 35.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.2244, allocations: 55.8 kB / 444.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.2245, allocations: 19.19 kB / 444.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.409e-05/0.2245, allocations: 324.9 kB / 444.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.2246, allocations: 38.14 kB / 444.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.2247, allocations: 76.39 kB / 444.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.2251, allocations: 230.2 kB / 444.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2251, allocations: 3 kB / 444.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002062/0.2254, allocations: 170.4 kB / 444.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.2254, allocations: 5.469 kB / 444.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2254, allocations: 0 / 444.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2254, allocations: 2.969 kB / 445 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2256, allocations: 43.61 kB / 445 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2256, allocations: 6.969 kB / 445 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.2257, allocations: 23.61 kB / 445 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2257, allocations: 5.969 kB / 445 MB, free: 34.65 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.0001488/0.2258, allocations: 159.9 kB / 445.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.2259, allocations: 6.781 kB / 445.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.2259, allocations: 19.91 kB / 445.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2259, allocations: 0 / 445.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2259, allocations: 6.906 kB / 445.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2259, allocations: 3.188 kB / 445.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.2261, allocations: 252.5 kB / 445.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2261, allocations: 0 / 445.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.2263, allocations: 40.19 kB / 445.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2263, allocations: 0 / 445.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2263, allocations: 0 / 445.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2263, allocations: 3 kB / 445.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2263, allocations: 3.938 kB / 445.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.2266, allocations: 285.1 kB / 445.8 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.2266, allocations: 87.77 kB / 445.9 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2266, allocations: 4.062 kB / 445.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.2267, allocations: 11.03 kB / 445.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.2267, allocations: 16.8 kB / 445.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2267, allocations: 6.938 kB / 445.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.53e-05/0.2268, allocations: 94.33 kB / 446 MB, free: 33.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2268, allocations: 3.938 kB / 446 MB, free: 33.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.227, allocations: 43.03 kB / 446.1 MB, free: 33.84 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.0003736/0.2274, allocations: 0.8219 MB / 446.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.2276, allocations: 112.4 kB / 447 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2276, allocations: 0 / 447 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.2277, allocations: 53.03 kB / 447 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.2279, allocations: 26.83 kB / 447.1 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.2292, allocations: 1.967 MB / 449 MB, free: 31.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.467e-05/0.2294, allocations: 0.7145 MB / 449.7 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.126e-05/0.2294, allocations: 13.41 kB / 449.8 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.2295, allocations: 40.5 kB / 449.8 MB, free: 30.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2295, allocations: 3.938 kB / 449.8 MB, free: 30.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.549/3.779, allocations: 2.37 MB / 452.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/3.779, allocations: 245.1 kB / 452.4 MB, free: 30.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.309/7.088, allocations: 2.234 kB / 452.4 MB, free: 30.26 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)