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.001406/0.001406, allocations: 114.2 kB / 18.94 MB, free: 2.777 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.001526/0.001526, allocations: 187.3 kB / 22.23 MB, free: 5.188 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.489/1.489, allocations: 225.6 MB / 251 MB, free: 13.04 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.1002/0.1002, allocations: 22.7 MB / 329 MB, free: 2.387 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.002125/0.002125, allocations: 63.91 kB / 463.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1582, allocations: 58.06 MB / 0.5089 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.004845/0.1631, allocations: 3.016 MB / 0.5119 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1653, allocations: 1.021 MB / 0.5129 GB, free: 392 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.1656, allocations: 7.938 kB / 0.5129 GB, free: 384 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.1662, allocations: 134.9 kB / 0.513 GB, free: 248 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006146/0.1668, allocations: 202.8 kB / 0.5132 GB, free: 44 kB / 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.2726/0.4394, allocations: 286 kB / 0.5135 GB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.4405, allocations: 0.6227 MB / 0.5141 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.4408, allocations: 153.6 kB / 0.5142 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.4412, allocations: 252.2 kB / 0.5145 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.4415, allocations: 270.7 kB / 0.5147 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.156e-05/0.4416, allocations: 46.38 kB / 0.5148 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.4418, allocations: 89.84 kB / 0.5149 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.4419, allocations: 152 kB / 0.515 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.4421, allocations: 243.1 kB / 0.5153 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.4427, allocations: 0.5465 MB / 0.5158 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4428, allocations: 0 / 0.5158 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4428, allocations: 3.469 kB / 0.5158 GB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.4428, allocations: 0.9062 kB / 0.5158 GB, free: 11.66 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.001812/0.4446, allocations: 0.7961 MB / 0.5166 GB, free: 11.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4446, allocations: 8.844 kB / 0.5166 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.4447, allocations: 63.34 kB / 0.5166 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007022/0.4454, allocations: 388.1 kB / 0.517 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.4455, allocations: 37.75 kB / 0.517 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.4455, allocations: 43.73 kB / 0.5171 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.4463, allocations: 410.8 kB / 0.5175 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.4463, allocations: 8.562 kB / 0.5175 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.4463, allocations: 17.25 kB / 0.5175 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.4463, allocations: 10.53 kB / 0.5175 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.447, allocations: 291.2 kB / 0.5178 GB, free: 10.92 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.001917/0.4489, allocations: 1.663 MB / 0.5194 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.4495, allocations: 257.2 kB / 0.5197 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.4498, allocations: 144.1 kB / 0.5198 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.4498, allocations: 11.56 kB / 0.5198 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.4498, allocations: 37.27 kB / 0.5198 GB, free: 9.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.4498, allocations: 0 / 0.5198 GB, free: 9.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009759/0.4508, allocations: 413.9 kB / 0.5202 GB, free: 9.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.4508, allocations: 54.97 kB / 0.5203 GB, free: 9.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/0.4516, allocations: 490.2 kB / 0.5208 GB, free: 9.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.4517, allocations: 33.42 kB / 0.5208 GB, free: 9.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.4518, allocations: 254.8 kB / 0.521 GB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.126e-05/0.4519, allocations: 154.3 kB / 0.5212 GB, free: 9.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.4521, allocations: 118.6 kB / 0.5213 GB, free: 9.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4522, allocations: 357.5 kB / 0.5216 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.4526, allocations: 165.7 kB / 0.5218 GB, free: 8.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.4531, allocations: 302.6 kB / 0.5221 GB, free: 8.633 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.4559, allocations: 0.8917 MB / 0.523 GB, free: 8.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4559, allocations: 10.22 kB / 0.523 GB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001178/0.4571, allocations: 0.562 MB / 0.5235 GB, free: 8.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4571, allocations: 6.969 kB / 0.5235 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4572, allocations: 3.641 kB / 0.5235 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.4572, allocations: 7.688 kB / 0.5235 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.4578, allocations: 148.7 kB / 0.5237 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.4579, allocations: 11.3 kB / 0.5237 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.4584, allocations: 80.36 kB / 0.5238 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.4584, allocations: 23.25 kB / 0.5238 GB, free: 7.977 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.0002961/0.4587, allocations: 202.3 kB / 0.524 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.4588, allocations: 50.77 kB / 0.524 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006773/0.4595, allocations: 359.4 kB / 0.5244 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4595, allocations: 4.938 kB / 0.5244 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4595, allocations: 1.125 kB / 0.5244 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4595, allocations: 2.062 kB / 0.5244 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.4601, allocations: 451.8 kB / 0.5248 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.4601, allocations: 1 kB / 0.5248 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.4607, allocations: 105.4 kB / 0.5249 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4607, allocations: 1.156 kB / 0.5249 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.4607, allocations: 8.703 kB / 0.5249 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4607, allocations: 1.188 kB / 0.5249 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4607, allocations: 0.875 kB / 0.5249 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.4616, allocations: 0.5651 MB / 0.5255 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.4617, allocations: 53.58 kB / 0.5255 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.4618, allocations: 12.36 kB / 0.5255 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.4621, allocations: 28.98 kB / 0.5256 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4622, allocations: 27.02 kB / 0.5256 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.4623, allocations: 11.03 kB / 0.5256 GB, free: 6.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006611/0.4629, allocations: 337.1 kB / 0.5259 GB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4629, allocations: 3.938 kB / 0.5259 GB, free: 6.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008051/0.4637, allocations: 119 kB / 0.526 GB, free: 6.793 MB / 382.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.0002595/0.464, allocations: 118.9 kB / 0.5261 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.4652, allocations: 364.6 kB / 0.5265 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4652, allocations: 4 kB / 0.5265 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.4655, allocations: 154.8 kB / 0.5266 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.4662, allocations: 64 kB / 0.5267 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.4685, allocations: 1.033 MB / 0.5277 GB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.469, allocations: 0.8526 MB / 0.5285 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000271/0.4693, allocations: 60.28 kB / 0.5286 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.4694, allocations: 42 kB / 0.5286 GB, free: 5.188 MB / 382.1 MB Notification: Performance of SimCode: time 1.983e-06/0.4694, allocations: 0 / 0.5286 GB, free: 5.188 MB / 382.1 MB Notification: Performance of Templates: time 0.01416/0.4836, allocations: 4.292 MB / 0.5328 GB, free: 4.918 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: 5.3272867714986205] Failed to read output from testmodel.py, exit status != 0: 0.49268818087875843 0.5087433450000001 0.06256463300000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7c9fab97b0>