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.001539/0.001539, allocations: 105 kB / 16.45 MB, free: 6.457 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.001577/0.001577, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.468/1.468, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.1114/0.1114, allocations: 22.7 MB / 325.4 MB, free: 3.523 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.002009/0.002009, allocations: 67.89 kB / 457.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1216, allocations: 58.02 MB / 0.5036 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.004917/0.1265, allocations: 2.996 MB / 0.5065 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1284, allocations: 1.017 MB / 0.5075 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1286, allocations: 11.88 kB / 0.5075 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.1291, allocations: 130.9 kB / 0.5077 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.1296, allocations: 186.8 kB / 0.5078 GB, free: 2.754 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.0004952/0.1301, allocations: 271.6 kB / 0.5081 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.1308, allocations: 0.6093 MB / 0.5087 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.1311, allocations: 154.8 kB / 0.5088 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.1314, allocations: 251 kB / 0.5091 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.1317, allocations: 262.7 kB / 0.5093 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.1318, allocations: 48 kB / 0.5094 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.1319, allocations: 79.95 kB / 0.5094 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.1321, allocations: 147.4 kB / 0.5096 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.1323, allocations: 250.6 kB / 0.5098 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006574/0.133, allocations: 0.5445 MB / 0.5104 GB, free: 156 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.133, allocations: 0 / 0.5104 GB, free: 156 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.133, allocations: 0 / 0.5104 GB, free: 156 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.133, allocations: 4 kB / 0.5104 GB, free: 152 kB / 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.2404/0.3734, allocations: 0.8632 MB / 0.5112 GB, free: 16.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3735, allocations: 9.891 kB / 0.5112 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3736, allocations: 61.72 kB / 0.5113 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007646/0.3744, allocations: 454.7 kB / 0.5117 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.3744, allocations: 36.25 kB / 0.5117 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.3745, allocations: 42.41 kB / 0.5118 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.3753, allocations: 419.8 kB / 0.5122 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.3753, allocations: 0.9688 kB / 0.5122 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.3753, allocations: 20.38 kB / 0.5122 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.3753, allocations: 10.16 kB / 0.5122 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.376, allocations: 290.7 kB / 0.5125 GB, free: 15.73 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.001758/0.3778, allocations: 1.713 MB / 0.5142 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.3782, allocations: 248.5 kB / 0.5144 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.3785, allocations: 151 kB / 0.5145 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.3786, allocations: 5.328 kB / 0.5145 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3786, allocations: 37.73 kB / 0.5146 GB, free: 14.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.904e-06/0.3786, allocations: 0 / 0.5146 GB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009147/0.3795, allocations: 411.9 kB / 0.515 GB, free: 14.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3795, allocations: 55.97 kB / 0.515 GB, free: 14.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.3802, allocations: 484.8 kB / 0.5155 GB, free: 14.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3802, allocations: 34.97 kB / 0.5155 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.3804, allocations: 260 kB / 0.5158 GB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.139e-05/0.3804, allocations: 151.8 kB / 0.5159 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.3806, allocations: 120.7 kB / 0.516 GB, free: 14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.3807, allocations: 355.2 kB / 0.5164 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.3811, allocations: 168.1 kB / 0.5165 GB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.3816, allocations: 298.6 kB / 0.5168 GB, free: 13.41 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/0.3844, allocations: 1.052 MB / 0.5178 GB, free: 12.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3844, allocations: 1.25 kB / 0.5178 GB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001208/0.3856, allocations: 0.5645 MB / 0.5184 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3856, allocations: 10 kB / 0.5184 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3857, allocations: 4.75 kB / 0.5184 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.3857, allocations: 11.02 kB / 0.5184 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.3863, allocations: 143.8 kB / 0.5186 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.3863, allocations: 8.078 kB / 0.5186 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.3868, allocations: 80.58 kB / 0.5186 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.3869, allocations: 25.64 kB / 0.5187 GB, free: 12.57 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.0002711/0.3872, allocations: 213.6 kB / 0.5189 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.3872, allocations: 48.09 kB / 0.5189 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007151/0.3879, allocations: 365.9 kB / 0.5193 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.388, allocations: 4.609 kB / 0.5193 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.388, allocations: 3.156 kB / 0.5193 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.388, allocations: 2.156 kB / 0.5193 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006413/0.3886, allocations: 467.9 kB / 0.5197 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3886, allocations: 4 kB / 0.5197 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.3892, allocations: 100.9 kB / 0.5198 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3892, allocations: 2.156 kB / 0.5198 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.3892, allocations: 8.938 kB / 0.5198 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3892, allocations: 1.062 kB / 0.5198 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3892, allocations: 1.188 kB / 0.5198 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.3901, allocations: 0.5681 MB / 0.5204 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.612e-05/0.3902, allocations: 131.6 kB / 0.5205 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.3902, allocations: 8.266 kB / 0.5205 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.3906, allocations: 29.59 kB / 0.5205 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.3907, allocations: 28.16 kB / 0.5206 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.3907, allocations: 8.312 kB / 0.5206 GB, free: 11.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005985/0.3913, allocations: 339.5 kB / 0.5209 GB, free: 11.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3913, allocations: 0 / 0.5209 GB, free: 11.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005256/0.3918, allocations: 117.3 kB / 0.521 GB, free: 11.25 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.0001706/0.392, allocations: 122.8 kB / 0.5211 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00087/0.3928, allocations: 371.9 kB / 0.5215 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3928, allocations: 0 / 0.5215 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.3931, allocations: 156.7 kB / 0.5216 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.3936, allocations: 64.14 kB / 0.5217 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.3952, allocations: 1.03 MB / 0.5227 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3956, allocations: 0.8522 MB / 0.5235 GB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.3958, allocations: 59.2 kB / 0.5236 GB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3959, allocations: 42.11 kB / 0.5236 GB, free: 9.645 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3959, allocations: 3.938 kB / 0.5236 GB, free: 9.641 MB / 382.1 MB Notification: Performance of Templates: time 0.01067/0.4066, allocations: 4.066 MB / 0.5276 GB, free: 9.379 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.087254574988037] Failed to read output from testmodel.py, exit status != 0: 0.4153803908266127 0.427169626 0.29162396500000004 Calling exit ...