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: translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.304/1.304, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1887/0.1887, allocations: 22.34 MB / 313 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 59.91 kB / 380.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2378, allocations: 54.94 MB / 435.7 MB, free: 39.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002587/0.2404, allocations: 2.146 MB / 437.8 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002565/0.2407, allocations: 160.9 kB / 438 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.2407, allocations: 4.938 kB / 438 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.336e-05/0.2408, allocations: 17.08 kB / 438 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.2409, allocations: 43.8 kB / 438.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.2411, allocations: 37.33 kB / 438.1 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2412, allocations: 187.2 kB / 438.3 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.2414, allocations: 88.56 kB / 438.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.2414, allocations: 64.25 kB / 438.4 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.326e-05/0.2415, allocations: 78.64 kB / 438.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.2416, allocations: 12.75 kB / 438.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.057e-05/0.2416, allocations: 11.5 kB / 438.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.2416, allocations: 40.61 kB / 438.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.2417, allocations: 90.14 kB / 438.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.2418, allocations: 148.3 kB / 438.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2419, allocations: 4 kB / 438.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.2419, allocations: 0 / 438.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2419, allocations: 0 / 438.8 MB, free: 37.66 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.0004538/0.2423, allocations: 457.5 kB / 439.3 MB, free: 37.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.2424, allocations: 15.03 kB / 439.3 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.2424, allocations: 21.38 kB / 439.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.873e-05/0.2425, allocations: 181.2 kB / 439.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2425, allocations: 20.58 kB / 439.5 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.2426, allocations: 15.69 kB / 439.5 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.2428, allocations: 155.8 kB / 439.7 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2428, allocations: 2.812 kB / 439.7 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2429, allocations: 11.94 kB / 439.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.2429, allocations: 6.188 kB / 439.7 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.2431, allocations: 113.2 kB / 439.8 MB, free: 36.87 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.0007211/0.2438, allocations: 0.8557 MB / 440.6 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.244, allocations: 121.5 kB / 440.8 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2442, allocations: 79.02 kB / 440.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2442, allocations: 3.984 kB / 440.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2442, allocations: 33.41 kB / 440.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.2442, allocations: 0 / 440.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003534/0.2446, allocations: 170.7 kB / 441 MB, free: 35.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.2446, allocations: 55.41 kB / 441.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.2447, allocations: 126 kB / 441.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.2447, allocations: 28.48 kB / 441.3 MB, free: 35.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.2448, allocations: 124.4 kB / 441.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.2448, allocations: 66.36 kB / 441.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.2448, allocations: 35.61 kB / 441.5 MB, free: 35.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.2449, allocations: 324.9 kB / 441.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.245, allocations: 40.55 kB / 441.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.419e-05/0.2451, allocations: 73.23 kB / 441.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.2457, allocations: 225.4 kB / 442.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2457, allocations: 0 / 442.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002482/0.2459, allocations: 170.8 kB / 442.3 MB, free: 34.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2459, allocations: 7.406 kB / 442.3 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2459, allocations: 0 / 442.3 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.246, allocations: 2.875 kB / 442.3 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.2462, allocations: 48.17 kB / 442.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2462, allocations: 2.812 kB / 442.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.2463, allocations: 25.06 kB / 442.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2463, allocations: 7.625 kB / 442.4 MB, free: 34.84 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.0001968/0.2465, allocations: 158.1 kB / 442.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.2465, allocations: 7.812 kB / 442.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.2466, allocations: 12.84 kB / 442.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2466, allocations: 2.812 kB / 442.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2466, allocations: 4 kB / 442.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2466, allocations: 3.938 kB / 442.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.2468, allocations: 256.6 kB / 442.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2468, allocations: 3.188 kB / 442.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.247, allocations: 31.61 kB / 442.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.247, allocations: 2.719 kB / 442.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.247, allocations: 7.938 kB / 442.9 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.247, allocations: 2.906 kB / 442.9 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.247, allocations: 0 / 442.9 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.2474, allocations: 286.6 kB / 443.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.2474, allocations: 95.02 kB / 443.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.2474, allocations: 0 / 443.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.2475, allocations: 6.781 kB / 443.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.2476, allocations: 13.03 kB / 443.3 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2476, allocations: 2.75 kB / 443.3 MB, free: 34.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.2476, allocations: 101.7 kB / 443.4 MB, free: 34.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2476, allocations: 0 / 443.4 MB, free: 34.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.2479, allocations: 50.89 kB / 443.4 MB, free: 34.03 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 6.911e-05/0.248, allocations: 101.8 kB / 443.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.2482, allocations: 111.6 kB / 443.6 MB, free: 33.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2482, allocations: 0 / 443.6 MB, free: 33.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.2483, allocations: 54.34 kB / 443.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.2485, allocations: 23.38 kB / 443.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.2492, allocations: 0.5251 MB / 444.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.2494, allocations: 0.7154 MB / 444.9 MB, free: 32.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.2494, allocations: 20.12 kB / 445 MB, free: 32.77 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2494, allocations: 0 / 445 MB, free: 32.77 MB / 350.1 MB Notification: Performance of Templates: time 0.002641/0.2521, allocations: 1.653 MB / 446.6 MB, free: 32.62 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.makefile (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 & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1)