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.001301/0.001301, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001509/0.001509, allocations: 216.2 kB / 23.03 MB, free: 4.922 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1027/0.1027, allocations: 22.94 MB / 336.1 MB, free: 12.52 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: "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01",fmuType="cs",version="2.0",platforms={"static"}) [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.003316/0.003316, allocations: 67.91 kB / 472.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3695, allocations: 59.29 MB / 0.519 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.003811/0.3733, allocations: 2.771 MB / 0.5217 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3749, allocations: 1.002 MB / 0.5227 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.3751, allocations: 14.84 kB / 0.5227 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.3755, allocations: 130.1 kB / 0.5228 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.3761, allocations: 195.4 kB / 0.523 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.3767, allocations: 300.7 kB / 0.5233 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000751/0.3774, allocations: 0.6184 MB / 0.5239 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.3778, allocations: 155 kB / 0.5241 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.3781, allocations: 255.9 kB / 0.5243 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.3784, allocations: 269.7 kB / 0.5246 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.291e-05/0.3785, allocations: 47.03 kB / 0.5246 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.3787, allocations: 90.02 kB / 0.5247 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.3788, allocations: 146 kB / 0.5248 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.379, allocations: 201.5 kB / 0.525 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.3796, allocations: 0.5485 MB / 0.5256 GB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3796, allocations: 0 / 0.5256 GB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3796, allocations: 0 / 0.5256 GB, free: 6.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3796, allocations: 0 / 0.5256 GB, free: 6.641 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.001936/0.3816, allocations: 0.8047 MB / 0.5264 GB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.3816, allocations: 10.95 kB / 0.5264 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.299e-05/0.3817, allocations: 15.25 kB / 0.5264 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.864e-05/0.3818, allocations: 85.05 kB / 0.5265 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.3819, allocations: 62.38 kB / 0.5265 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007448/0.3826, allocations: 387.7 kB / 0.5269 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.3827, allocations: 31.66 kB / 0.5269 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.3827, allocations: 49.62 kB / 0.527 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.3835, allocations: 414.7 kB / 0.5274 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.3835, allocations: 9.391 kB / 0.5274 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.3835, allocations: 20.64 kB / 0.5274 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3835, allocations: 10.19 kB / 0.5274 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.3842, allocations: 288 kB / 0.5277 GB, free: 5.391 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.002025/0.3862, allocations: 1.271 MB / 0.5289 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.3866, allocations: 249.7 kB / 0.5292 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.3869, allocations: 141 kB / 0.5293 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.387, allocations: 11.36 kB / 0.5293 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.387, allocations: 33.23 kB / 0.5293 GB, free: 4.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/0.387, allocations: 0 / 0.5293 GB, free: 4.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008909/0.3879, allocations: 414.5 kB / 0.5297 GB, free: 4.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.3879, allocations: 60.19 kB / 0.5298 GB, free: 4.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.3886, allocations: 472.5 kB / 0.5302 GB, free: 3.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3886, allocations: 31.14 kB / 0.5303 GB, free: 3.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3888, allocations: 270.8 kB / 0.5305 GB, free: 3.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.516e-05/0.3889, allocations: 145.4 kB / 0.5307 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.389, allocations: 97.89 kB / 0.5308 GB, free: 3.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.3891, allocations: 361 kB / 0.5311 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.3894, allocations: 118.2 kB / 0.5312 GB, free: 3.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.3897, allocations: 242.9 kB / 0.5314 GB, free: 2.867 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.3919, allocations: 0.7531 MB / 0.5322 GB, free: 2.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3919, allocations: 1.5 kB / 0.5322 GB, free: 2.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009359/0.3928, allocations: 474.4 kB / 0.5326 GB, free: 2.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3928, allocations: 9.5 kB / 0.5326 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3929, allocations: 4.156 kB / 0.5326 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.3929, allocations: 6.844 kB / 0.5327 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.3934, allocations: 120.5 kB / 0.5328 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3934, allocations: 13.11 kB / 0.5328 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.3938, allocations: 68.38 kB / 0.5328 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.3938, allocations: 19.44 kB / 0.5329 GB, free: 2.238 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 (66): * Single equations (assignments): 66 * 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.0002481/0.3941, allocations: 201.8 kB / 0.5331 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.3942, allocations: 43.72 kB / 0.5331 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/0.3948, allocations: 368.8 kB / 0.5335 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3948, allocations: 5.031 kB / 0.5335 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3948, allocations: 0 / 0.5335 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3948, allocations: 3.469 kB / 0.5335 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.3953, allocations: 399 kB / 0.5338 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3953, allocations: 4 kB / 0.5338 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.3958, allocations: 98.17 kB / 0.5339 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3958, allocations: 5.344 kB / 0.5339 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.3958, allocations: 9.531 kB / 0.534 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3958, allocations: 1.406 kB / 0.534 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3958, allocations: 0.6562 kB / 0.534 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.3965, allocations: 0.5702 MB / 0.5345 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.3966, allocations: 53 kB / 0.5346 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.3967, allocations: 10.25 kB / 0.5346 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.397, allocations: 30.59 kB / 0.5346 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.3971, allocations: 27.45 kB / 0.5346 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.3971, allocations: 12.86 kB / 0.5346 GB, free: 1.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005819/0.3977, allocations: 342.1 kB / 0.535 GB, free: 1.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3977, allocations: 0 / 0.535 GB, free: 1.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.3982, allocations: 106.5 kB / 0.5351 GB, free: 1.047 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.000952/0.3991, allocations: 1.122 MB / 0.5362 GB, free: 196 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006495/0.3998, allocations: 312.2 kB / 0.5365 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3998, allocations: 0 / 0.5365 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.4, allocations: 155 kB / 0.5366 GB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.4005, allocations: 64.45 kB / 0.5367 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/0.4072, allocations: 4.318 MB / 0.5409 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.4076, allocations: 250.8 kB / 0.5411 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.4078, allocations: 62.72 kB / 0.5412 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.4081, allocations: 171.7 kB / 0.5413 GB, free: 13.17 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4081, allocations: 1.031 kB / 0.5413 GB, free: 13.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.4409, allocations: 8.653 MB / 0.5498 GB, free: 9.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.65, allocations: 10.12 kB / 0.5498 GB, free: 9.75 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_fmu --startTime=0 --stopTime=7200 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.642425953992642] Failed to read output from testmodel.py, exit status != 0: 12.819533147034235 12.840661108 12.455770914 Calling exit ...