Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.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.001414/0.001414, allocations: 106.6 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.001603/0.001603, 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.502/1.502, 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.1031/0.1031, allocations: 22.69 MB / 325.4 MB, free: 3.527 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_component_models.Heater_power_vs_wTin.heater_wT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") translateModel(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.91 kB / 457.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1221, allocations: 58.01 MB / 0.5036 GB, free: 7.109 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT): time 0.5255/0.6476, allocations: 22.66 MB / 0.5257 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.6491, allocations: 0.6689 MB / 0.5264 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.6492, allocations: 2.75 kB / 0.5264 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.6494, allocations: 41.44 kB / 0.5264 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.6496, allocations: 111.8 kB / 0.5265 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.65, allocations: 103.1 kB / 0.5266 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.6504, allocations: 415.9 kB / 0.527 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.6507, allocations: 215.2 kB / 0.5272 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.6509, allocations: 173.7 kB / 0.5274 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.6512, allocations: 229.8 kB / 0.5276 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.066e-05/0.6513, allocations: 39.16 kB / 0.5277 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.6514, allocations: 38.22 kB / 0.5277 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.6515, allocations: 128.3 kB / 0.5278 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.6517, allocations: 197.5 kB / 0.528 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.6522, allocations: 450.3 kB / 0.5284 GB, free: 6.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6522, allocations: 3.938 kB / 0.5284 GB, free: 6.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6522, allocations: 0 / 0.5284 GB, free: 6.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.6523, allocations: 1.094 kB / 0.5284 GB, free: 6.336 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001413/0.6537, allocations: 0.6906 MB / 0.5291 GB, free: 5.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6537, allocations: 8.906 kB / 0.5291 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.6538, allocations: 39.08 kB / 0.5292 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.6542, allocations: 304.3 kB / 0.5294 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.6542, allocations: 17.09 kB / 0.5295 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.6543, allocations: 32.09 kB / 0.5295 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.655, allocations: 344.1 kB / 0.5298 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.655, allocations: 0 / 0.5298 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.6551, allocations: 14.28 kB / 0.5298 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.6551, allocations: 5.719 kB / 0.5298 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.6559, allocations: 335.2 kB / 0.5302 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.6579, allocations: 1.254 MB / 0.5314 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.6585, allocations: 275.9 kB / 0.5316 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.659, allocations: 217.3 kB / 0.5319 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.659, allocations: 7.016 kB / 0.5319 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.659, allocations: 36.14 kB / 0.5319 GB, free: 4.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.659, allocations: 0 / 0.5319 GB, free: 4.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.004934/0.664, allocations: 1.968 MB / 0.5338 GB, free: 3.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.664, allocations: 59.17 kB / 0.5339 GB, free: 3.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.6643, allocations: 257.6 kB / 0.5341 GB, free: 3.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.6643, allocations: 29.7 kB / 0.5341 GB, free: 3.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.6644, allocations: 169.1 kB / 0.5343 GB, free: 3.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.853e-05/0.6645, allocations: 113.4 kB / 0.5344 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.6646, allocations: 58.41 kB / 0.5345 GB, free: 3.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.6647, allocations: 338.2 kB / 0.5348 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.6652, allocations: 191.8 kB / 0.535 GB, free: 2.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.6656, allocations: 225.3 kB / 0.5352 GB, free: 2.555 MB / 382.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.tube.w = 0.0 (if time < w.startTime then 0.0 else if time < w.startTime + w.duration then w.height * w.duration / w.duration ^ 2.0 else 0.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.6675, allocations: 0.6569 MB / 0.5358 GB, free: 2.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6675, allocations: 0 / 0.5358 GB, free: 2.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001908/0.6694, allocations: 0.6322 MB / 0.5365 GB, free: 2.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6695, allocations: 4.688 kB / 0.5365 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6695, allocations: 1.156 kB / 0.5365 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008154/0.6703, allocations: 172.5 kB / 0.5366 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.6709, allocations: 104.9 kB / 0.5367 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006538/0.6774, allocations: 7.598 MB / 0.5441 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.6781, allocations: 32.06 kB / 0.5442 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.6781, allocations: 12.67 kB / 0.5442 GB, free: 10.48 MB / 398.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003601/0.6785, allocations: 156.7 kB / 0.5443 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.6786, allocations: 26.14 kB / 0.5444 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.6802, allocations: 0.6017 MB / 0.5449 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6802, allocations: 3.469 kB / 0.5449 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6803, allocations: 4.125 kB / 0.545 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.6803, allocations: 1.266 kB / 0.545 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007368/0.681, allocations: 445.5 kB / 0.5454 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.681, allocations: 0 / 0.5454 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.6816, allocations: 104 kB / 0.5455 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/0.6821, allocations: 142.7 kB / 0.5456 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.6821, allocations: 9.547 kB / 0.5456 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006111/0.6883, allocations: 7.205 MB / 0.5527 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6883, allocations: 0 / 0.5527 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.6905, allocations: 0.8975 MB / 0.5535 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.6907, allocations: 106.2 kB / 0.5536 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.6907, allocations: 17.55 kB / 0.5537 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.6911, allocations: 27.5 kB / 0.5537 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.6913, allocations: 31.5 kB / 0.5537 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.6913, allocations: 8.266 kB / 0.5537 GB, free: 1.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.6916, allocations: 186.5 kB / 0.5539 GB, free: 1.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6916, allocations: 0 / 0.5539 GB, free: 1.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007202/0.6923, allocations: 114.5 kB / 0.554 GB, free: 1.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002299/0.6925, allocations: 112.5 kB / 0.5541 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.6947, allocations: 1.004 MB / 0.5551 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6947, allocations: 0 / 0.5551 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.6959, allocations: 0.7881 MB / 0.5559 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.6964, allocations: 75.36 kB / 0.5559 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.7004, allocations: 1.298 MB / 0.5572 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.7009, allocations: 0.7861 MB / 0.558 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.7011, allocations: 54.98 kB / 0.558 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.7013, allocations: 23.56 kB / 0.558 GB, free: 14.96 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7013, allocations: 0 / 0.558 GB, free: 14.96 MB / 414.1 MB Notification: Performance of Templates: time 0.01486/0.7161, allocations: 6.479 MB / 0.5644 GB, free: 9.309 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.sim & ./AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.400035705883056] Failed to read output from testmodel.py, exit status != 0: 0.7257304983213544 0.739086884 0.08385622000000001 Calling exit ...