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.001656/0.001656, allocations: 100.3 kB / 20.46 MB, free: 1.367 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.001881/0.001881, allocations: 216.2 kB / 23.77 MB, free: 4.52 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1103/0.1103, allocations: 24.04 MB / 338 MB, free: 11.31 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.002181/0.002181, allocations: 63.89 kB / 475.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2866, allocations: 59.58 MB / 0.5221 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.003474/0.29, allocations: 2.76 MB / 0.5248 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.2918, allocations: 1.005 MB / 0.5258 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.292, allocations: 14.56 kB / 0.5258 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.2924, allocations: 128.7 kB / 0.526 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.2929, allocations: 209.9 kB / 0.5262 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.2934, allocations: 281.2 kB / 0.5264 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.294, allocations: 0.6224 MB / 0.527 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.2943, allocations: 142.3 kB / 0.5272 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.2945, allocations: 247.2 kB / 0.5274 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.2948, allocations: 247.7 kB / 0.5276 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.2949, allocations: 46.06 kB / 0.5277 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.2951, allocations: 85.53 kB / 0.5278 GB, free: 7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.2952, allocations: 146.6 kB / 0.5279 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2954, allocations: 200.7 kB / 0.5281 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.2959, allocations: 0.5484 MB / 0.5286 GB, free: 6.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2959, allocations: 0 / 0.5286 GB, free: 6.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2959, allocations: 0 / 0.5286 GB, free: 6.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.2959, allocations: 4.562 kB / 0.5286 GB, free: 6.559 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.00164/0.2975, allocations: 0.802 MB / 0.5294 GB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.2976, allocations: 9.578 kB / 0.5294 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.2977, allocations: 62.06 kB / 0.5295 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.2984, allocations: 393.4 kB / 0.5299 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.2984, allocations: 31.81 kB / 0.5299 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.2985, allocations: 47.19 kB / 0.5299 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.2992, allocations: 416.3 kB / 0.5303 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.2992, allocations: 12.95 kB / 0.5304 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.2992, allocations: 15.97 kB / 0.5304 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2992, allocations: 13.59 kB / 0.5304 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.2998, allocations: 286.8 kB / 0.5307 GB, free: 5.375 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.001631/0.3015, allocations: 1.205 MB / 0.5318 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.3019, allocations: 252.2 kB / 0.5321 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.3022, allocations: 147.2 kB / 0.5322 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3022, allocations: 5.969 kB / 0.5322 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.3022, allocations: 41.8 kB / 0.5323 GB, free: 4.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.3023, allocations: 1.312 kB / 0.5323 GB, free: 4.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008847/0.3031, allocations: 411.8 kB / 0.5326 GB, free: 4.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.3032, allocations: 56.89 kB / 0.5327 GB, free: 4.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.3039, allocations: 474.6 kB / 0.5332 GB, free: 3.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.304, allocations: 35.27 kB / 0.5332 GB, free: 3.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3041, allocations: 255.3 kB / 0.5334 GB, free: 3.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/0.3042, allocations: 153.7 kB / 0.5336 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.3043, allocations: 119.8 kB / 0.5337 GB, free: 3.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.3044, allocations: 355.1 kB / 0.534 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.3048, allocations: 172 kB / 0.5342 GB, free: 3.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.3053, allocations: 296.6 kB / 0.5345 GB, free: 2.855 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.3078, allocations: 0.8891 MB / 0.5353 GB, free: 2.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3078, allocations: 9.031 kB / 0.5354 GB, free: 2.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001114/0.3089, allocations: 0.5648 MB / 0.5359 GB, free: 2.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3089, allocations: 6.75 kB / 0.5359 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3089, allocations: 4.531 kB / 0.5359 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3089, allocations: 10.78 kB / 0.5359 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.3096, allocations: 150.5 kB / 0.5361 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.3096, allocations: 11.14 kB / 0.5361 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.3101, allocations: 80.09 kB / 0.5362 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.3101, allocations: 22.95 kB / 0.5362 GB, free: 2.148 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.0002483/0.3104, allocations: 205.9 kB / 0.5364 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.3104, allocations: 50.81 kB / 0.5364 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.3111, allocations: 358.5 kB / 0.5368 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3111, allocations: 5.234 kB / 0.5368 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3111, allocations: 0 / 0.5368 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3111, allocations: 5.953 kB / 0.5368 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.3115, allocations: 338.9 kB / 0.5371 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3115, allocations: 0.6562 kB / 0.5371 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.312, allocations: 101.3 kB / 0.5372 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.312, allocations: 1.875 kB / 0.5372 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.312, allocations: 17.08 kB / 0.5372 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.312, allocations: 2.328 kB / 0.5372 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.312, allocations: 0 / 0.5372 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007502/0.3128, allocations: 0.5583 MB / 0.5378 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.3128, allocations: 53.23 kB / 0.5378 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.3129, allocations: 10.62 kB / 0.5378 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.3132, allocations: 30.28 kB / 0.5379 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.3133, allocations: 27.94 kB / 0.5379 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.3133, allocations: 21.47 kB / 0.5379 GB, free: 1.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005123/0.3138, allocations: 329.5 kB / 0.5382 GB, free: 1.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3138, allocations: 0 / 0.5382 GB, free: 1.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000448/0.3143, allocations: 117.8 kB / 0.5383 GB, free: 0.9883 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.0001326/0.3144, allocations: 116.9 kB / 0.5384 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007557/0.3151, allocations: 367.9 kB / 0.5388 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3151, allocations: 1.094 kB / 0.5388 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.3154, allocations: 159 kB / 0.5389 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3158, allocations: 51.8 kB / 0.539 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3172, allocations: 1.066 MB / 0.54 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.3175, allocations: 257.8 kB / 0.5403 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3176, allocations: 41.05 kB / 0.5403 GB, free: 15.93 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3176, allocations: 0 / 0.5403 GB, free: 15.93 MB / 398.1 MB Notification: Performance of Templates: time 0.009322/0.327, allocations: 5.633 MB / 0.5458 GB, free: 13.75 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: 7.545148896984756] Failed to read output from testmodel.py, exit status != 0: 0.33552038623020053 0.34999072600000003 0.050878359000000005 Calling exit ...