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.001535/0.001535, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001797/0.001797, allocations: 213.5 kB / 23.01 MB, free: 4.992 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1087/0.1087, allocations: 24.04 MB / 337.2 MB, free: 11.35 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.002159/0.002159, allocations: 67.89 kB / 474.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3739, allocations: 59.57 MB / 0.5214 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.003538/0.3774, allocations: 2.764 MB / 0.5241 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3791, allocations: 1.014 MB / 0.5251 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.3793, allocations: 14.38 kB / 0.5251 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.3797, allocations: 129.2 kB / 0.5252 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.3802, allocations: 198.2 kB / 0.5254 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.3807, allocations: 287.7 kB / 0.5257 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000627/0.3813, allocations: 0.6231 MB / 0.5263 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.3816, allocations: 138.3 kB / 0.5264 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.3819, allocations: 250.7 kB / 0.5267 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.3822, allocations: 251.4 kB / 0.5269 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.171e-05/0.3823, allocations: 46.66 kB / 0.527 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.3825, allocations: 84.53 kB / 0.527 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.3827, allocations: 147.4 kB / 0.5272 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.3828, allocations: 195.9 kB / 0.5274 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.3834, allocations: 0.5503 MB / 0.5279 GB, free: 6.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3834, allocations: 0 / 0.5279 GB, free: 6.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3834, allocations: 0 / 0.5279 GB, free: 6.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3834, allocations: 3.938 kB / 0.5279 GB, free: 6.508 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.001696/0.3851, allocations: 0.806 MB / 0.5287 GB, free: 5.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3852, allocations: 9.062 kB / 0.5287 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.3853, allocations: 61.78 kB / 0.5288 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007211/0.386, allocations: 393.9 kB / 0.5291 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.386, allocations: 31.12 kB / 0.5292 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.3861, allocations: 47.11 kB / 0.5292 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.3868, allocations: 412.9 kB / 0.5296 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.3868, allocations: 9.266 kB / 0.5296 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.3868, allocations: 19.81 kB / 0.5296 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3869, allocations: 9.594 kB / 0.5296 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.3875, allocations: 291.7 kB / 0.5299 GB, free: 5.324 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.001665/0.3891, allocations: 1.205 MB / 0.5311 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.3896, allocations: 250.8 kB / 0.5313 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.3898, allocations: 148.7 kB / 0.5315 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.3899, allocations: 4.5 kB / 0.5315 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.3899, allocations: 38.39 kB / 0.5315 GB, free: 4.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.3899, allocations: 0 / 0.5315 GB, free: 4.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008934/0.3908, allocations: 416.8 kB / 0.5319 GB, free: 4.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.3908, allocations: 56.53 kB / 0.532 GB, free: 4.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008232/0.3917, allocations: 470.8 kB / 0.5324 GB, free: 3.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3917, allocations: 39.83 kB / 0.5325 GB, free: 3.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.3918, allocations: 262.7 kB / 0.5327 GB, free: 3.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.3919, allocations: 150.4 kB / 0.5328 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.3921, allocations: 123.3 kB / 0.533 GB, free: 3.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.3922, allocations: 354.2 kB / 0.5333 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.3926, allocations: 164.2 kB / 0.5335 GB, free: 3.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.3931, allocations: 301.4 kB / 0.5337 GB, free: 2.801 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/0.3957, allocations: 0.8886 MB / 0.5346 GB, free: 2.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3957, allocations: 1.062 kB / 0.5346 GB, free: 2.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001162/0.3968, allocations: 0.5691 MB / 0.5352 GB, free: 2.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3969, allocations: 6.906 kB / 0.5352 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3969, allocations: 4.344 kB / 0.5352 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.3969, allocations: 7.812 kB / 0.5352 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.3975, allocations: 140.3 kB / 0.5353 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.3975, allocations: 12.75 kB / 0.5353 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.398, allocations: 84.45 kB / 0.5354 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.398, allocations: 25.7 kB / 0.5354 GB, free: 2.102 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.0002422/0.3983, allocations: 202.4 kB / 0.5356 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.3983, allocations: 51.56 kB / 0.5357 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.3989, allocations: 362.5 kB / 0.536 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3989, allocations: 8.219 kB / 0.536 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3989, allocations: 0 / 0.536 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3989, allocations: 3.25 kB / 0.536 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.3994, allocations: 333.9 kB / 0.5364 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3994, allocations: 1.094 kB / 0.5364 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.3998, allocations: 105.6 kB / 0.5365 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3999, allocations: 2.891 kB / 0.5365 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.3999, allocations: 10.83 kB / 0.5365 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3999, allocations: 2.922 kB / 0.5365 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3999, allocations: 3.984 kB / 0.5365 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.4007, allocations: 0.5615 MB / 0.537 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/0.4008, allocations: 54.47 kB / 0.5371 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.4008, allocations: 11.48 kB / 0.5371 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.4011, allocations: 24.86 kB / 0.5371 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.4012, allocations: 28.31 kB / 0.5371 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.4012, allocations: 18.16 kB / 0.5372 GB, free: 1.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005516/0.4018, allocations: 325.2 kB / 0.5375 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4018, allocations: 96 / 0.5375 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.4023, allocations: 124.6 kB / 0.5376 GB, free: 0.9375 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.0001589/0.4024, allocations: 126.5 kB / 0.5377 GB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008/0.4032, allocations: 367.1 kB / 0.5381 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4032, allocations: 0.9375 kB / 0.5381 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.4035, allocations: 151.8 kB / 0.5382 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.4039, allocations: 57.7 kB / 0.5383 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.4054, allocations: 1.024 MB / 0.5393 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.4057, allocations: 256.4 kB / 0.5395 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.4059, allocations: 58.64 kB / 0.5396 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.406, allocations: 41.7 kB / 0.5396 GB, free: 15.9 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.406, allocations: 0 / 0.5396 GB, free: 15.9 MB / 398.1 MB Notification: Performance of Templates: time 0.009789/0.4158, allocations: 4.338 MB / 0.5438 GB, free: 14.49 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: 5.455949837341905] Failed to read output from testmodel.py, exit status != 0: 0.4247688390314579 0.43843091 0.052039288 Calling exit ...