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.001834/0.001834, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00157/0.00157, allocations: 157.4 kB / 23.01 MB, free: 4.605 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.1019/0.1019, allocations: 17.79 MB / 277.6 MB, free: 15.34 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.002348/0.002348, allocations: 67.91 kB / 414.7 MB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1227, allocations: 59.56 MB / 474.2 MB, free: 8.793 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.004363/0.127, allocations: 2.767 MB / 477 MB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.129, allocations: 1.013 MB / 478 MB, free: 4.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.1292, allocations: 15.88 kB / 478 MB, free: 4.969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.1296, allocations: 126.9 kB / 478.1 MB, free: 4.844 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005777/0.1302, allocations: 190.8 kB / 478.3 MB, free: 4.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.1307, allocations: 295.6 kB / 478.6 MB, free: 4.367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.1314, allocations: 0.6133 MB / 479.2 MB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.1317, allocations: 147.2 kB / 479.4 MB, free: 3.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.132, allocations: 251.1 kB / 479.6 MB, free: 3.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.1323, allocations: 250.6 kB / 479.9 MB, free: 3.113 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.1324, allocations: 48 kB / 479.9 MB, free: 3.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.1326, allocations: 83.94 kB / 480 MB, free: 2.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.1328, allocations: 147.4 kB / 480.1 MB, free: 2.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.133, allocations: 191 kB / 480.3 MB, free: 2.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006566/0.1336, allocations: 0.5562 MB / 480.9 MB, free: 2.094 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1336, allocations: 0 / 480.9 MB, free: 2.094 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1337, allocations: 0 / 480.9 MB, free: 2.094 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1337, allocations: 4 kB / 480.9 MB, free: 2.09 MB / 446.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.001829/0.1355, allocations: 0.7972 MB / 481.7 MB, free: 1.262 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1355, allocations: 8.031 kB / 481.7 MB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1356, allocations: 64.56 kB / 481.8 MB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007747/0.1364, allocations: 390 kB / 482.1 MB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.1365, allocations: 33.38 kB / 482.2 MB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.1365, allocations: 56.31 kB / 482.2 MB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007365/0.1373, allocations: 409 kB / 482.6 MB, free: 284 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1373, allocations: 0 / 482.6 MB, free: 284 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.1373, allocations: 19.94 kB / 482.6 MB, free: 264 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1373, allocations: 12 kB / 482.7 MB, free: 252 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2685/0.4058, allocations: 288.8 kB / 482.9 MB, free: 52.47 MB / 446.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.001817/0.4076, allocations: 1.21 MB / 484.1 MB, free: 51.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.408, allocations: 246 kB / 484.4 MB, free: 51.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.4083, allocations: 146.5 kB / 484.5 MB, free: 51.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.4083, allocations: 10.05 kB / 484.5 MB, free: 51.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.4083, allocations: 40.05 kB / 484.6 MB, free: 51.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.4083, allocations: 0 / 484.6 MB, free: 51.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007871/0.4091, allocations: 405.8 kB / 485 MB, free: 51.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.4091, allocations: 59.56 kB / 485 MB, free: 51.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.4097, allocations: 487.8 kB / 485.5 MB, free: 51.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4097, allocations: 35.88 kB / 485.5 MB, free: 51.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4099, allocations: 255.2 kB / 485.8 MB, free: 51.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.4099, allocations: 145.7 kB / 485.9 MB, free: 51.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.41, allocations: 128.3 kB / 486.1 MB, free: 51.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.4101, allocations: 352.6 kB / 486.4 MB, free: 51.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.4105, allocations: 168.8 kB / 486.6 MB, free: 50.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.4109, allocations: 306.7 kB / 486.9 MB, free: 50.79 MB / 446.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.4133, allocations: 0.8907 MB / 487.8 MB, free: 50.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4133, allocations: 1.344 kB / 487.8 MB, free: 50.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001029/0.4143, allocations: 0.5608 MB / 488.3 MB, free: 50.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4144, allocations: 10.66 kB / 488.3 MB, free: 50.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4144, allocations: 7.062 kB / 488.3 MB, free: 50.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4144, allocations: 6.438 kB / 488.3 MB, free: 50.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.415, allocations: 145.6 kB / 488.5 MB, free: 50.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.415, allocations: 10.56 kB / 488.5 MB, free: 50.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.4154, allocations: 90.84 kB / 488.6 MB, free: 50.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.4155, allocations: 20 kB / 488.6 MB, free: 50.12 MB / 446.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.0002497/0.4157, allocations: 201.8 kB / 488.8 MB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.4158, allocations: 46.72 kB / 488.8 MB, free: 49.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.4163, allocations: 354.2 kB / 489.2 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.4164, allocations: 7.25 kB / 489.2 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4164, allocations: 0 / 489.2 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4164, allocations: 3.328 kB / 489.2 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.4167, allocations: 335.9 kB / 489.5 MB, free: 49.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4167, allocations: 1.031 kB / 489.5 MB, free: 49.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.4172, allocations: 106.9 kB / 489.6 MB, free: 49.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4172, allocations: 0 / 489.6 MB, free: 49.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.4172, allocations: 14.58 kB / 489.7 MB, free: 49.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4172, allocations: 2.906 kB / 489.7 MB, free: 49.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4172, allocations: 2.906 kB / 489.7 MB, free: 49.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.4179, allocations: 0.5644 MB / 490.2 MB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.418, allocations: 46.47 kB / 490.3 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.418, allocations: 15 kB / 490.3 MB, free: 49.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.4183, allocations: 32.11 kB / 490.3 MB, free: 49.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.4184, allocations: 30.5 kB / 490.3 MB, free: 49.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.4184, allocations: 13.03 kB / 490.4 MB, free: 49.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004572/0.4189, allocations: 331.6 kB / 490.7 MB, free: 49.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4189, allocations: 0 / 490.7 MB, free: 49.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004294/0.4193, allocations: 117.9 kB / 490.8 MB, free: 49 MB / 446.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.000138/0.4194, allocations: 114.8 kB / 490.9 MB, free: 48.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007129/0.4201, allocations: 371.3 kB / 491.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4201, allocations: 0 / 491.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.4203, allocations: 154.4 kB / 491.4 MB, free: 48.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.4208, allocations: 70.97 kB / 491.5 MB, free: 48.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.4221, allocations: 1.019 MB / 492.5 MB, free: 48.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.4222, allocations: 257.3 kB / 492.8 MB, free: 48.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.4224, allocations: 54.41 kB / 492.8 MB, free: 48.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.79e-05/0.4225, allocations: 45.38 kB / 492.9 MB, free: 48 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4225, allocations: 0 / 492.9 MB, free: 48 MB / 446.1 MB Notification: Performance of Templates: time 0.007846/0.4303, allocations: 3.872 MB / 496.7 MB, free: 47.61 MB / 446.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 -s ida -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.946821431978606] Failed to read output from testmodel.py, exit status != 0: 0.43849022896029055 0.44834873099999994 0.31237832399999993 Calling exit ...