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.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.001902/0.001902, allocations: 96.36 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.002013/0.002013, allocations: 216.7 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.48/1.48, 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.1084/0.1084, allocations: 24.04 MB / 338 MB, free: 11.33 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_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: 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.002152/0.002152, allocations: 71.89 kB / 475.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3021, allocations: 59.58 MB / 0.5221 GB, free: 10.65 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.06848/0.3706, allocations: 23.2 MB / 0.5448 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.372, allocations: 0.6843 MB / 0.5455 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3721, allocations: 3.938 kB / 0.5455 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.3723, allocations: 38.75 kB / 0.5455 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.3725, allocations: 109.7 kB / 0.5456 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.3728, allocations: 102.5 kB / 0.5457 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.3731, allocations: 425.7 kB / 0.5461 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.3734, allocations: 200.9 kB / 0.5463 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.3737, allocations: 182.5 kB / 0.5465 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.3739, allocations: 209.1 kB / 0.5467 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.374, allocations: 40 kB / 0.5467 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.724e-05/0.3741, allocations: 40 kB / 0.5468 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3742, allocations: 125.5 kB / 0.5469 GB, free: 480 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3743, allocations: 171.5 kB / 0.547 GB, free: 328 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.3747, allocations: 453.4 kB / 0.5475 GB, free: 32 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3747, allocations: 0 / 0.5475 GB, free: 32 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3747, allocations: 0 / 0.5475 GB, free: 32 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.3747, allocations: 4 kB / 0.5475 GB, free: 28 kB / 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.00147/0.3762, allocations: 0.6195 MB / 0.5481 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3762, allocations: 13.48 kB / 0.5481 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.75e-05/0.3763, allocations: 36.7 kB / 0.5481 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.3767, allocations: 241.8 kB / 0.5484 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.3768, allocations: 20.88 kB / 0.5484 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.3768, allocations: 29.17 kB / 0.5484 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.3776, allocations: 343.8 kB / 0.5487 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3776, allocations: 0.5156 kB / 0.5487 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.3777, allocations: 12 kB / 0.5487 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3777, allocations: 4 kB / 0.5488 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.3785, allocations: 328.1 kB / 0.5491 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.3805, allocations: 0.8329 MB / 0.5499 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.3811, allocations: 274.7 kB / 0.5501 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.3816, allocations: 214.1 kB / 0.5503 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.3816, allocations: 240 / 0.5503 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.3816, allocations: 43.64 kB / 0.5504 GB, free: 13.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.292e-06/0.3816, allocations: 0 / 0.5504 GB, free: 13.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.00495/0.3866, allocations: 1.52 MB / 0.5519 GB, free: 12.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.3866, allocations: 56.06 kB / 0.5519 GB, free: 11.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.387, allocations: 245.1 kB / 0.5522 GB, free: 11.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.387, allocations: 34.36 kB / 0.5522 GB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3871, allocations: 163.4 kB / 0.5523 GB, free: 11.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.3872, allocations: 108.7 kB / 0.5525 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3874, allocations: 63.48 kB / 0.5525 GB, free: 11.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3875, allocations: 339.4 kB / 0.5528 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.3881, allocations: 194.3 kB / 0.553 GB, free: 10.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.3886, allocations: 219.7 kB / 0.5532 GB, free: 10.7 MB / 398.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.001884/0.3905, allocations: 0.5859 MB / 0.5538 GB, free: 10.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3905, allocations: 0 / 0.5538 GB, free: 10.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001793/0.3923, allocations: 0.6299 MB / 0.5544 GB, free: 9.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3923, allocations: 10.59 kB / 0.5544 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3923, allocations: 4.562 kB / 0.5544 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007869/0.3931, allocations: 167.1 kB / 0.5546 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.3937, allocations: 101 kB / 0.5547 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/0.4003, allocations: 6.961 MB / 0.5615 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.4007, allocations: 30.06 kB / 0.5615 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.4008, allocations: 13.45 kB / 0.5615 GB, free: 2.141 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.0002434/0.401, allocations: 155 kB / 0.5617 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.4011, allocations: 27.86 kB / 0.5617 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.4027, allocations: 0.6036 MB / 0.5623 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.4027, allocations: 4 kB / 0.5623 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.4027, allocations: 3.938 kB / 0.5623 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4027, allocations: 1.453 kB / 0.5623 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.4032, allocations: 319.3 kB / 0.5626 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4032, allocations: 0 / 0.5626 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.4038, allocations: 93.09 kB / 0.5627 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005438/0.4044, allocations: 146.9 kB / 0.5628 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.4044, allocations: 9.172 kB / 0.5628 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005717/0.4101, allocations: 6.577 MB / 0.5693 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4101, allocations: 3.984 kB / 0.5693 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.4123, allocations: 0.89 MB / 0.5701 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.4124, allocations: 35.86 kB / 0.5702 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.4124, allocations: 4 kB / 0.5702 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.4128, allocations: 27.97 kB / 0.5702 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.4129, allocations: 43.8 kB / 0.5702 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.4129, allocations: 8 kB / 0.5703 GB, free: 8.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.4131, allocations: 176.5 kB / 0.5704 GB, free: 8.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4131, allocations: 0 / 0.5704 GB, free: 8.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005388/0.4137, allocations: 112 kB / 0.5705 GB, free: 8.656 MB / 414.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.000175/0.4138, allocations: 119.2 kB / 0.5706 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.4157, allocations: 1.005 MB / 0.5716 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4157, allocations: 0 / 0.5716 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.4168, allocations: 0.7869 MB / 0.5724 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.4172, allocations: 68.45 kB / 0.5725 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.4208, allocations: 1.313 MB / 0.5737 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.421, allocations: 194.3 kB / 0.5739 GB, free: 4.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.4212, allocations: 27.44 kB / 0.5739 GB, free: 4.961 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4212, allocations: 0 / 0.5739 GB, free: 4.961 MB / 414.1 MB Notification: Performance of Templates: time 0.01418/0.4354, allocations: 10.15 MB / 0.5839 GB, free: 10.81 MB / 430.1 MB " [Timeout remaining time 660] 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: 9.211080573033541] Failed to read output from testmodel.py, exit status != 0: 0.44461740273982286 0.45915920299999996 0.08128076000000001 Calling exit ...