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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001224/0.001224, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.188/1.188, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.183/0.183, allocations: 22.36 MB / 312.3 MB, free: 12.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 55.91 kB / 380.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2115, allocations: 54.94 MB / 435.2 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002415/0.2139, allocations: 2.153 MB / 437.3 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000237/0.2142, allocations: 150.5 kB / 437.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.2143, allocations: 9.812 kB / 437.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.838e-05/0.2143, allocations: 17.02 kB / 437.5 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2144, allocations: 44.19 kB / 437.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.2146, allocations: 40.42 kB / 437.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2147, allocations: 181.2 kB / 437.8 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2148, allocations: 88.08 kB / 437.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.2149, allocations: 65.34 kB / 437.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.215, allocations: 81.92 kB / 438 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.215, allocations: 11.53 kB / 438 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.215, allocations: 14.5 kB / 438 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.2151, allocations: 29.42 kB / 438 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.2151, allocations: 87.78 kB / 438.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2153, allocations: 185.5 kB / 438.3 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2153, allocations: 4 kB / 438.3 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.2153, allocations: 0 / 438.3 MB, free: 37.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2153, allocations: 4 kB / 438.3 MB, free: 37.27 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.0004113/0.2157, allocations: 453.5 kB / 438.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.2157, allocations: 10.66 kB / 438.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.2158, allocations: 55.77 kB / 438.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.2158, allocations: 23.41 kB / 438.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.395e-05/0.2159, allocations: 183.4 kB / 439 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.2159, allocations: 20.23 kB / 439 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2159, allocations: 20 kB / 439.1 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.2162, allocations: 153.6 kB / 439.2 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2162, allocations: 6.656 kB / 439.2 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2162, allocations: 7.984 kB / 439.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2162, allocations: 6.469 kB / 439.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.2164, allocations: 112 kB / 439.3 MB, free: 36.42 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.0006514/0.2171, allocations: 0.8502 MB / 440.2 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.2173, allocations: 131.2 kB / 440.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.2174, allocations: 77.53 kB / 440.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2174, allocations: 2.969 kB / 440.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.2174, allocations: 38.5 kB / 440.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.2174, allocations: 0 / 440.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003031/0.2177, allocations: 163.6 kB / 440.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.2178, allocations: 55.41 kB / 440.7 MB, free: 35.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.871e-05/0.2178, allocations: 127.4 kB / 440.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2178, allocations: 29.7 kB / 440.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.2179, allocations: 126.8 kB / 440.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.2179, allocations: 63.92 kB / 441 MB, free: 35.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.218, allocations: 32.02 kB / 441 MB, free: 35.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.218, allocations: 324.8 kB / 441.3 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.2181, allocations: 48.08 kB / 441.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.2182, allocations: 75.86 kB / 441.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.2187, allocations: 227.7 kB / 441.7 MB, free: 34.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2187, allocations: 0 / 441.7 MB, free: 34.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002104/0.2189, allocations: 163.2 kB / 441.8 MB, free: 34.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2189, allocations: 5.781 kB / 441.9 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2189, allocations: 6.938 kB / 441.9 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.219, allocations: 0 / 441.9 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2191, allocations: 45.84 kB / 441.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2191, allocations: 10.81 kB / 441.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.2192, allocations: 13.56 kB / 441.9 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.2192, allocations: 8.906 kB / 441.9 MB, free: 34.39 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.0001561/0.2194, allocations: 159.8 kB / 442.1 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.2194, allocations: 7.594 kB / 442.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.2195, allocations: 23.81 kB / 442.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2195, allocations: 0 / 442.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2195, allocations: 3.938 kB / 442.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2195, allocations: 4 kB / 442.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.2197, allocations: 259.2 kB / 442.4 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2197, allocations: 3.188 kB / 442.4 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2199, allocations: 28.64 kB / 442.4 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2199, allocations: 3.562 kB / 442.4 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2199, allocations: 4 kB / 442.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2199, allocations: 0 / 442.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2199, allocations: 3.938 kB / 442.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2202, allocations: 286.1 kB / 442.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.2202, allocations: 91.55 kB / 442.8 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.2202, allocations: 2.594 kB / 442.8 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.2203, allocations: 6.688 kB / 442.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.2204, allocations: 15.91 kB / 442.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.2204, allocations: 6.719 kB / 442.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.681e-05/0.2204, allocations: 91.55 kB / 442.9 MB, free: 33.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2204, allocations: 0 / 442.9 MB, free: 33.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.2207, allocations: 48.78 kB / 443 MB, free: 33.58 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.0004067/0.2211, allocations: 0.8194 MB / 443.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.2213, allocations: 107.2 kB / 443.9 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2213, allocations: 320 / 443.9 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.2214, allocations: 61.41 kB / 443.9 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2216, allocations: 17.48 kB / 444 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.223, allocations: 1.929 MB / 445.9 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.904e-05/0.2231, allocations: 0.7189 MB / 446.6 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.532e-05/0.2232, allocations: 7.078 kB / 446.6 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.2232, allocations: 47.53 kB / 446.7 MB, free: 30.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2232, allocations: 0 / 446.7 MB, free: 30.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3549/0.5781, allocations: 2.455 MB / 449.1 MB, free: 30.16 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.5783, allocations: 243.2 kB / 449.4 MB, free: 29.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.391, allocations: 0 / 449.4 MB, free: 29.91 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)