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.0009817/0.0009817, allocations: 90.83 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.005971/0.005971, allocations: 171.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.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2232/0.2232, allocations: 22.35 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004494, allocations: 8 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3361, allocations: 55.98 MB / 438.6 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002563/0.3387, allocations: 1.794 MB / 440.4 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005359/0.3392, allocations: 157.1 kB / 440.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3394, allocations: 3.062 kB / 440.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.343e-05/0.3395, allocations: 20.75 kB / 440.5 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3397, allocations: 51.94 kB / 440.6 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.3398, allocations: 29.69 kB / 440.6 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.3401, allocations: 186.2 kB / 440.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.3403, allocations: 86.92 kB / 440.9 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.3404, allocations: 58.22 kB / 440.9 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3405, allocations: 61 kB / 441 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.3405, allocations: 12.56 kB / 441 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.787e-05/0.3406, allocations: 8.906 kB / 441 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.3406, allocations: 25.42 kB / 441.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.3407, allocations: 103.1 kB / 441.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3409, allocations: 187.8 kB / 441.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3409, allocations: 4 kB / 441.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3409, allocations: 0 / 441.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3409, allocations: 0 / 441.3 MB, free: 37.55 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.0004914/0.3414, allocations: 423.2 kB / 441.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3415, allocations: 16.38 kB / 441.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.3415, allocations: 18.53 kB / 441.8 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3416, allocations: 176.9 kB / 442 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.3417, allocations: 25.27 kB / 442 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.3417, allocations: 15.75 kB / 442 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.342, allocations: 157.8 kB / 442.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3421, allocations: 4.094 kB / 442.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.3421, allocations: 15.12 kB / 442.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3421, allocations: 3.062 kB / 442.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.3424, allocations: 111 kB / 442.3 MB, free: 36.77 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.0009541/0.3433, allocations: 0.8615 MB / 443.1 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3436, allocations: 124.6 kB / 443.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3437, allocations: 77.67 kB / 443.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3437, allocations: 2.719 kB / 443.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3438, allocations: 30.56 kB / 443.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.935e-06/0.3438, allocations: 3.938 kB / 443.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004105/0.3442, allocations: 166.9 kB / 443.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3443, allocations: 62.38 kB / 443.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.3444, allocations: 122.2 kB / 443.7 MB, free: 35.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3444, allocations: 25.7 kB / 443.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.3445, allocations: 131.4 kB / 443.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3445, allocations: 56.56 kB / 443.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.3445, allocations: 22.62 kB / 444 MB, free: 35.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.3446, allocations: 322 kB / 444.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.3447, allocations: 35.66 kB / 444.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.604e-05/0.3448, allocations: 84.64 kB / 444.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.3453, allocations: 232.9 kB / 444.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3454, allocations: 0 / 444.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000235/0.3456, allocations: 165.3 kB / 444.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3456, allocations: 5.688 kB / 444.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3456, allocations: 7.938 kB / 444.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3457, allocations: 2.844 kB / 444.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3458, allocations: 45.64 kB / 444.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3459, allocations: 7.922 kB / 444.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.718e-05/0.346, allocations: 19.41 kB / 444.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.346, allocations: 11.09 kB / 444.9 MB, free: 34.74 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.0002136/0.3462, allocations: 152.6 kB / 445 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.3462, allocations: 9.812 kB / 445 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.3463, allocations: 19.44 kB / 445.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3463, allocations: 0 / 445.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3463, allocations: 2.531 kB / 445.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3463, allocations: 7.938 kB / 445.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.3466, allocations: 256.3 kB / 445.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3466, allocations: 0 / 445.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.3467, allocations: 30.94 kB / 445.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3468, allocations: 0 / 445.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3468, allocations: 6.562 kB / 445.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3468, allocations: 0 / 445.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3468, allocations: 3.938 kB / 445.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.3471, allocations: 292.1 kB / 445.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.3472, allocations: 87.67 kB / 445.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3472, allocations: 4 kB / 445.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.3473, allocations: 3.094 kB / 445.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.3474, allocations: 20.2 kB / 445.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3474, allocations: 3.375 kB / 445.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.3474, allocations: 91.92 kB / 445.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3474, allocations: 0 / 445.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3477, allocations: 45.31 kB / 445.9 MB, free: 33.95 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 9.147e-05/0.3478, allocations: 105 kB / 446 MB, free: 33.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.348, allocations: 111.8 kB / 446.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.348, allocations: 0 / 446.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.937e-05/0.3481, allocations: 61.27 kB / 446.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.3484, allocations: 15.38 kB / 446.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.3492, allocations: 0.5411 MB / 446.7 MB, free: 33.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.3494, allocations: 0.7133 MB / 447.4 MB, free: 32.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.3495, allocations: 13.91 kB / 447.4 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.3495, allocations: 17.12 kB / 447.5 MB, free: 32.7 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3495, allocations: 3.938 kB / 447.5 MB, free: 32.7 MB / 350.1 MB Notification: Performance of Templates: time 0.003606/0.3531, allocations: 1.008 MB / 448.5 MB, free: 32.64 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)