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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 106.6 kB / 18.68 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004466/0.004466, allocations: 196.4 kB / 21.93 MB, free: 5.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 250.6 MB, free: 13.41 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.1039/0.1039, allocations: 22.7 MB / 328.5 MB, free: 2.637 MB / 254.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.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=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: Performance of FrontEnd - loaded program: time 0.003041/0.003041, allocations: 59.91 kB / 462.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1278, allocations: 58.03 MB / 0.5081 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.00448/0.1323, allocations: 3.007 MB / 0.5111 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1343, allocations: 1.009 MB / 0.5121 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.1345, allocations: 11.94 kB / 0.5121 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.135, allocations: 134.9 kB / 0.5122 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.1357, allocations: 190.8 kB / 0.5124 GB, free: 0.6094 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.0005222/0.1362, allocations: 271.5 kB / 0.5126 GB, free: 352 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1813/0.3175, allocations: 0.6011 MB / 0.5132 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.3178, allocations: 151.4 kB / 0.5134 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.3181, allocations: 247.3 kB / 0.5136 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.3184, allocations: 273.8 kB / 0.5139 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.3185, allocations: 47.97 kB / 0.5139 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3186, allocations: 79.45 kB / 0.514 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.3188, allocations: 149.3 kB / 0.5141 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.319, allocations: 245.4 kB / 0.5144 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.3195, allocations: 0.5452 MB / 0.5149 GB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3195, allocations: 1.438 kB / 0.5149 GB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3195, allocations: 2.25 kB / 0.5149 GB, free: 12.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.3195, allocations: 1.656 kB / 0.5149 GB, free: 12.26 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.001631/0.3211, allocations: 0.8653 MB / 0.5157 GB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3212, allocations: 9.531 kB / 0.5158 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.3213, allocations: 65.69 kB / 0.5158 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.3219, allocations: 450.8 kB / 0.5162 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.322, allocations: 38.03 kB / 0.5163 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/0.322, allocations: 48.91 kB / 0.5163 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.3227, allocations: 412.3 kB / 0.5167 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3227, allocations: 6.656 kB / 0.5167 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.3227, allocations: 16.31 kB / 0.5167 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3227, allocations: 12.28 kB / 0.5168 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.3233, allocations: 293.4 kB / 0.517 GB, free: 11.34 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.001633/0.325, allocations: 1.704 MB / 0.5187 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.3254, allocations: 253.1 kB / 0.5189 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.3257, allocations: 142 kB / 0.5191 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.3257, allocations: 10 kB / 0.5191 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3257, allocations: 38.17 kB / 0.5191 GB, free: 10.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.684e-06/0.3257, allocations: 0 / 0.5191 GB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.000878/0.3266, allocations: 410.3 kB / 0.5195 GB, free: 10.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.3266, allocations: 55.44 kB / 0.5196 GB, free: 10.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.3273, allocations: 487 kB / 0.52 GB, free: 9.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3273, allocations: 34.98 kB / 0.5201 GB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3274, allocations: 251.9 kB / 0.5203 GB, free: 9.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.3275, allocations: 154.2 kB / 0.5204 GB, free: 9.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3277, allocations: 122 kB / 0.5206 GB, free: 9.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.3277, allocations: 352.7 kB / 0.5209 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.3282, allocations: 169.8 kB / 0.5211 GB, free: 9.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/0.3286, allocations: 303 kB / 0.5214 GB, free: 8.848 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.3313, allocations: 1.045 MB / 0.5224 GB, free: 8.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3313, allocations: 4.688 kB / 0.5224 GB, free: 8.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001135/0.3324, allocations: 0.5686 MB / 0.5229 GB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3324, allocations: 7.531 kB / 0.5229 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3324, allocations: 8 kB / 0.5229 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3325, allocations: 7.375 kB / 0.523 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.3331, allocations: 142.4 kB / 0.5231 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.3331, allocations: 11.2 kB / 0.5231 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.3336, allocations: 84.7 kB / 0.5232 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.3337, allocations: 22.73 kB / 0.5232 GB, free: 8.008 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.0002347/0.3339, allocations: 209.9 kB / 0.5234 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.334, allocations: 51.14 kB / 0.5235 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/0.3346, allocations: 366.9 kB / 0.5238 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3346, allocations: 2.203 kB / 0.5238 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3346, allocations: 0 / 0.5238 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.3347, allocations: 128.5 kB / 0.5239 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.3347, allocations: 6.344 kB / 0.5239 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.3351, allocations: 30.44 kB / 0.524 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.3352, allocations: 32.47 kB / 0.524 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009838/0.3361, allocations: 459.4 kB / 0.5244 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007979/0.3369, allocations: 0.6524 MB / 0.5251 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002128/0.3372, allocations: 126.2 kB / 0.5252 GB, free: 6.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000527/0.3377, allocations: 339.3 kB / 0.5255 GB, free: 6.707 MB / 382.1 MB Notification: Performance of Backend: time 2.71e-07/0.3377, allocations: 0 / 0.5255 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009301/0.3386, allocations: 356.6 kB / 0.5259 GB, free: 6.57 MB / 382.1 MB Notification: Performance of SimCode: time 0.00131/0.3399, allocations: 1.442 MB / 0.5273 GB, free: 5.508 MB / 382.1 MB Notification: Performance of Templates: time 0.009804/0.3497, allocations: 4.901 MB / 0.532 GB, free: 5.207 MB / 382.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: 4.703127667016815] Failed to read output from testmodel.py, exit status != 0: 0.35985338501632214 0.369457116 0.04702570499999994 Calling exit ...