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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008407/0.0008407, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009251/0.000925, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2831/0.2831, allocations: 22.34 MB / 313.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003614, allocations: 8 kB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3775, allocations: 55.96 MB / 437.9 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.003317/0.3809, allocations: 2.501 MB / 440.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3831, allocations: 0.9609 MB / 441.4 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005354/0.3837, allocations: 9.625 kB / 441.4 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.3844, allocations: 103.3 kB / 441.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.3854, allocations: 155.2 kB / 441.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.3862, allocations: 188 kB / 441.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.3873, allocations: 0.5334 MB / 442.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.3877, allocations: 160.6 kB / 442.5 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.388, allocations: 193.6 kB / 442.7 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.3883, allocations: 210.9 kB / 442.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.3883, allocations: 20.09 kB / 442.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3885, allocations: 49.69 kB / 443 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3886, allocations: 101.1 kB / 443.1 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.577e-05/0.3887, allocations: 99.7 kB / 443.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.3891, allocations: 406.2 kB / 443.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3891, allocations: 0 / 443.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3891, allocations: 0 / 443.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.3891, allocations: 0 / 443.6 MB, free: 35.75 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001497/0.3906, allocations: 0.7828 MB / 444.3 MB, free: 35.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3907, allocations: 7.5 kB / 444.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.3908, allocations: 56.62 kB / 444.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.3915, allocations: 443.9 kB / 444.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.3916, allocations: 31.84 kB / 444.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.232e-05/0.3917, allocations: 51.62 kB / 444.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.3925, allocations: 406 kB / 445.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.3925, allocations: 7.266 kB / 445.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.3926, allocations: 18.92 kB / 445.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.3926, allocations: 9.844 kB / 445.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.3932, allocations: 283.3 kB / 445.6 MB, free: 34.5 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.00216/0.3954, allocations: 1.719 MB / 447.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.3959, allocations: 275.4 kB / 447.6 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.3962, allocations: 166.9 kB / 447.8 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/0.3963, allocations: 3.422 kB / 447.8 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.3963, allocations: 37.77 kB / 447.8 MB, free: 32.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.3964, allocations: 0 / 447.8 MB, free: 32.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001003/0.3974, allocations: 403.5 kB / 448.2 MB, free: 32.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3974, allocations: 58.77 kB / 448.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007882/0.3982, allocations: 481.9 kB / 448.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.3983, allocations: 39.98 kB / 448.8 MB, free: 32.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.3985, allocations: 254.9 kB / 449 MB, free: 32.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.3986, allocations: 147.7 kB / 449.2 MB, free: 32.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.3986, allocations: 10.91 kB / 449.2 MB, free: 32.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3988, allocations: 355.8 kB / 449.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.3991, allocations: 111.4 kB / 449.6 MB, free: 31.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.3995, allocations: 244.8 kB / 449.9 MB, free: 31.56 MB / 350.1 MB Notification: The given system is mixed-determined. [index = 2] Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.4012, allocations: 0.6264 MB / 450.5 MB, free: 31.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4012, allocations: 3.781 kB / 450.5 MB, free: 31.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007178/0.4019, allocations: 459.5 kB / 451 MB, free: 31.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.402, allocations: 9.094 kB / 451 MB, free: 31.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.402, allocations: 2.625 kB / 451 MB, free: 31.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.402, allocations: 7.875 kB / 451 MB, free: 31.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.4026, allocations: 128.3 kB / 451.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.4026, allocations: 15.8 kB / 451.1 MB, free: 31.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.403, allocations: 79.73 kB / 451.2 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.4031, allocations: 21.5 kB / 451.2 MB, free: 31.07 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.xfb:VARIABLE(fixed = true ) type: Real C1.xfb:VARIABLE(fixed = true ) type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: D.Fcs1.y = D.Fcs1.y_start D.Fcs2.y = D.Fcs2.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003429/0.4034, allocations: 188.2 kB / 451.4 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.491e-05/0.4035, allocations: 43.31 kB / 451.4 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006459/0.4042, allocations: 373.6 kB / 451.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.4042, allocations: 5.25 kB / 451.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4042, allocations: 0 / 451.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.4042, allocations: 3.141 kB / 451.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.4048, allocations: 469.2 kB / 452.3 MB, free: 30.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4048, allocations: 2.688 kB / 452.3 MB, free: 30.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.4052, allocations: 102.2 kB / 452.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4052, allocations: 3.938 kB / 452.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.4053, allocations: 8.938 kB / 452.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4053, allocations: 0 / 452.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4053, allocations: 0 / 452.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.406, allocations: 0.5649 MB / 453 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.4061, allocations: 126.8 kB / 453.1 MB, free: 29.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.4061, allocations: 15.72 kB / 453.1 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.4064, allocations: 34.92 kB / 453.1 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.4065, allocations: 26.81 kB / 453.2 MB, free: 29.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.4065, allocations: 9.719 kB / 453.2 MB, free: 29.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004867/0.407, allocations: 347.1 kB / 453.5 MB, free: 29.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.407, allocations: 4 kB / 453.5 MB, free: 29.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.4075, allocations: 101.2 kB / 453.6 MB, free: 29.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Cz1.T,Cz2.T,C1.xfb,C1.xBias,C1.u,C1.csfil,C2.xfb,C2.xBias,C2.u,C2.csfil) * Number of discrete variables: 4 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.4077, allocations: 128.7 kB / 453.7 MB, free: 29.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005529/0.4083, allocations: 334.7 kB / 454.1 MB, free: 29.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4083, allocations: 4 kB / 454.1 MB, free: 29.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.4085, allocations: 154.7 kB / 454.2 MB, free: 29.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.4089, allocations: 57.75 kB / 454.3 MB, free: 29.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.4104, allocations: 1.208 MB / 455.5 MB, free: 28.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.4107, allocations: 0.8547 MB / 456.3 MB, free: 27.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.411, allocations: 52.77 kB / 456.4 MB, free: 27.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.4111, allocations: 42.72 kB / 456.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4111, allocations: 0 / 456.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of Templates: time 0.008166/0.4192, allocations: 3.56 MB / 460 MB, free: 27.73 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe 2>&1)