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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 217.5 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.643/1.643, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1135/0.1135, allocations: 24.12 MB / 337.3 MB, free: 11.45 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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=7200,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=7200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 63.91 kB / 474.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3341, allocations: 59.6 MB / 0.5216 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.003704/0.3378, allocations: 3.026 MB / 0.5246 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3395, allocations: 1.057 MB / 0.5256 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.3397, allocations: 14.09 kB / 0.5256 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.3402, allocations: 129.2 kB / 0.5258 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.3407, allocations: 196.5 kB / 0.526 GB, free: 7.355 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.3412, allocations: 296.2 kB / 0.5262 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006303/0.3418, allocations: 0.6233 MB / 0.5269 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.3421, allocations: 150.1 kB / 0.527 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.3423, allocations: 252.1 kB / 0.5272 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.3426, allocations: 273.2 kB / 0.5275 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.29e-05/0.3427, allocations: 47.22 kB / 0.5275 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.3429, allocations: 83.98 kB / 0.5276 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.343, allocations: 160.6 kB / 0.5278 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.3432, allocations: 239.7 kB / 0.528 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.3438, allocations: 0.5429 MB / 0.5285 GB, free: 6.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3438, allocations: 1.156 kB / 0.5285 GB, free: 6.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3438, allocations: 3.938 kB / 0.5285 GB, free: 6.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3438, allocations: 0 / 0.5285 GB, free: 6.055 MB / 382.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.001718/0.3455, allocations: 0.8011 MB / 0.5293 GB, free: 5.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3455, allocations: 9.688 kB / 0.5293 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.725e-05/0.3456, allocations: 65.95 kB / 0.5294 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/0.3464, allocations: 384.7 kB / 0.5298 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.3464, allocations: 35.88 kB / 0.5298 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/0.3465, allocations: 46.47 kB / 0.5298 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.3472, allocations: 416 kB / 0.5302 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3472, allocations: 9.234 kB / 0.5302 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.3473, allocations: 16 kB / 0.5303 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.3473, allocations: 18.06 kB / 0.5303 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.3479, allocations: 289.1 kB / 0.5306 GB, free: 4.871 MB / 382.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.001847/0.3498, allocations: 1.663 MB / 0.5322 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.3502, allocations: 251.5 kB / 0.5324 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.3505, allocations: 149 kB / 0.5326 GB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.3505, allocations: 9.203 kB / 0.5326 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.3505, allocations: 36.77 kB / 0.5326 GB, free: 3.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.3505, allocations: 4 kB / 0.5326 GB, free: 3.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009099/0.3515, allocations: 406 kB / 0.533 GB, free: 3.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3515, allocations: 60.59 kB / 0.533 GB, free: 3.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/0.3523, allocations: 485.7 kB / 0.5335 GB, free: 2.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.3523, allocations: 31.61 kB / 0.5335 GB, free: 2.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3524, allocations: 249.7 kB / 0.5338 GB, free: 2.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.237e-05/0.3525, allocations: 154.2 kB / 0.5339 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.3527, allocations: 118.6 kB / 0.534 GB, free: 2.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.3528, allocations: 357 kB / 0.5344 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.3532, allocations: 165.5 kB / 0.5345 GB, free: 2.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.3537, allocations: 299 kB / 0.5348 GB, free: 1.902 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/0.3562, allocations: 0.8935 MB / 0.5357 GB, free: 1.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3563, allocations: 5.375 kB / 0.5357 GB, free: 1.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001112/0.3574, allocations: 0.561 MB / 0.5363 GB, free: 1.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3574, allocations: 7.562 kB / 0.5363 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3574, allocations: 4.406 kB / 0.5363 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3574, allocations: 6.469 kB / 0.5363 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.358, allocations: 149.7 kB / 0.5364 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3581, allocations: 12.19 kB / 0.5364 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.3585, allocations: 84.28 kB / 0.5365 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.3586, allocations: 26.42 kB / 0.5365 GB, free: 1.191 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Cz1.T:VARIABLE(min = 0.0 start = 293.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of element\" type: Real Cz2.T:VARIABLE(min = 0.0 start = 293.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of element\" type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: D.Fcs2.y = D.Fcs2.y_start D.Fcs1.y = D.Fcs1.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 (C2.LOsat,C2.HIsat,C1.LOsat,C1.HIsat,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 (76): * Single equations (assignments): 76 * 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.0002548/0.3588, allocations: 198.9 kB / 0.5367 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.3589, allocations: 42.72 kB / 0.5368 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006394/0.3595, allocations: 362.9 kB / 0.5371 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3595, allocations: 3.781 kB / 0.5371 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3596, allocations: 9.906 kB / 0.5371 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3596, allocations: 2.203 kB / 0.5371 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.3601, allocations: 450.3 kB / 0.5375 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3601, allocations: 0 / 0.5375 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.3606, allocations: 102 kB / 0.5376 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3606, allocations: 1.891 kB / 0.5376 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.3606, allocations: 16.42 kB / 0.5377 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3606, allocations: 1.984 kB / 0.5377 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3606, allocations: 0 / 0.5377 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.3614, allocations: 0.5658 MB / 0.5382 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.3615, allocations: 53.64 kB / 0.5383 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.3615, allocations: 7.828 kB / 0.5383 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.3618, allocations: 33.36 kB / 0.5383 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.3619, allocations: 27.27 kB / 0.5383 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.3619, allocations: 9.891 kB / 0.5383 GB, free: 160 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005243/0.3625, allocations: 338.9 kB / 0.5387 GB, free: 8 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3625, allocations: 3.938 kB / 0.5387 GB, free: 4 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.363, allocations: 114.3 kB / 0.5388 GB, free: 15.97 MB / 398.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 (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.000171/0.3631, allocations: 116.8 kB / 0.5389 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008447/0.364, allocations: 367.1 kB / 0.5392 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.364, allocations: 0 / 0.5392 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.3643, allocations: 160.6 kB / 0.5394 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.3647, allocations: 63.02 kB / 0.5395 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.3665, allocations: 1.062 MB / 0.5405 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.367, allocations: 0.851 MB / 0.5413 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3671, allocations: 41.45 kB / 0.5414 GB, free: 14.31 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3671, allocations: 0 / 0.5414 GB, free: 14.31 MB / 398.1 MB Notification: Performance of Templates: time 0.009363/0.3765, allocations: 5.507 MB / 0.5467 GB, free: 12.07 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.078839727910236] Failed to read output from testmodel.py, exit status != 0: 0.38541720202192664 0.39962855099999994 0.052772192 Calling exit ...