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.001438/0.001438, allocations: 104.3 kB / 19.72 MB, free: 1.77 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.001699/0.001699, allocations: 209.2 kB / 23 MB, free: 4.633 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1105/0.1105, allocations: 24.04 MB / 337.2 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.002391/0.002391, allocations: 71.91 kB / 474.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.392, allocations: 59.57 MB / 0.5214 GB, free: 10.5 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.07321/0.4652, allocations: 23.2 MB / 0.5441 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.4671, allocations: 0.681 MB / 0.5447 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.4672, allocations: 7.938 kB / 0.5447 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.4674, allocations: 38.89 kB / 0.5448 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.4676, allocations: 111.5 kB / 0.5449 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.468, allocations: 106.2 kB / 0.545 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.4683, allocations: 413.9 kB / 0.5454 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.4686, allocations: 197.7 kB / 0.5456 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.4689, allocations: 174.6 kB / 0.5457 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.4692, allocations: 217 kB / 0.5459 GB, free: 464 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.4692, allocations: 40 kB / 0.546 GB, free: 424 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-05/0.4693, allocations: 40 kB / 0.546 GB, free: 384 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.4694, allocations: 125.3 kB / 0.5461 GB, free: 292 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.4695, allocations: 171.2 kB / 0.5463 GB, free: 140 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.4701, allocations: 455.9 kB / 0.5467 GB, free: 15.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4701, allocations: 0 / 0.5467 GB, free: 15.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4701, allocations: 7.938 kB / 0.5467 GB, free: 15.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4701, allocations: 0 / 0.5467 GB, free: 15.84 MB / 398.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.001483/0.4716, allocations: 0.6156 MB / 0.5473 GB, free: 15.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4717, allocations: 8.922 kB / 0.5473 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.4718, allocations: 41.27 kB / 0.5474 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.4722, allocations: 249.8 kB / 0.5476 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.4723, allocations: 16.88 kB / 0.5476 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.4723, allocations: 28.98 kB / 0.5477 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.4731, allocations: 344.3 kB / 0.548 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4731, allocations: 0 / 0.548 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.4731, allocations: 12 kB / 0.548 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4731, allocations: 8 kB / 0.548 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.4739, allocations: 332.5 kB / 0.5483 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.4759, allocations: 0.8339 MB / 0.5491 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.4764, allocations: 272.2 kB / 0.5494 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.4769, allocations: 215.2 kB / 0.5496 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.477, allocations: 8.172 kB / 0.5496 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.477, allocations: 35.92 kB / 0.5497 GB, free: 13.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.402e-06/0.477, allocations: 4 kB / 0.5497 GB, free: 13.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.004756/0.4817, allocations: 1.508 MB / 0.5511 GB, free: 11.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4818, allocations: 56.06 kB / 0.5512 GB, free: 11.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.4821, allocations: 241.6 kB / 0.5514 GB, free: 11.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.4822, allocations: 29.7 kB / 0.5514 GB, free: 11.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.4823, allocations: 175.6 kB / 0.5516 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.4824, allocations: 112.2 kB / 0.5517 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.4825, allocations: 63.95 kB / 0.5518 GB, free: 11.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4827, allocations: 335.4 kB / 0.5521 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.4832, allocations: 194.3 kB / 0.5523 GB, free: 10.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.4837, allocations: 228 kB / 0.5525 GB, free: 10.5 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.001837/0.4856, allocations: 0.5733 MB / 0.5531 GB, free: 10.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4856, allocations: 0 / 0.5531 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00171/0.4873, allocations: 0.6344 MB / 0.5537 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4873, allocations: 4 kB / 0.5537 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.4873, allocations: 0 / 0.5537 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/0.488, allocations: 171.5 kB / 0.5538 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.4886, allocations: 101.3 kB / 0.5539 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/0.495, allocations: 6.961 MB / 0.5607 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.4954, allocations: 34.2 kB / 0.5608 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.4954, allocations: 5.547 kB / 0.5608 GB, free: 1.961 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.0002589/0.4957, allocations: 158.2 kB / 0.5609 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.4958, allocations: 32.55 kB / 0.561 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.4973, allocations: 0.6062 MB / 0.5616 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4973, allocations: 4.562 kB / 0.5616 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4973, allocations: 3.938 kB / 0.5616 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4973, allocations: 2.156 kB / 0.5616 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.4978, allocations: 311.2 kB / 0.5619 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4978, allocations: 0 / 0.5619 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/0.4984, allocations: 100.9 kB / 0.562 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.4989, allocations: 146.3 kB / 0.5621 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.499, allocations: 6.109 kB / 0.5621 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005874/0.5048, allocations: 6.579 MB / 0.5685 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5048, allocations: 0 / 0.5685 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.5069, allocations: 0.8976 MB / 0.5694 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.507, allocations: 27.88 kB / 0.5694 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.5071, allocations: 8 kB / 0.5694 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.5074, allocations: 27.95 kB / 0.5695 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.5075, allocations: 39.88 kB / 0.5695 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.5075, allocations: 8 kB / 0.5695 GB, free: 8.773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.5077, allocations: 176.5 kB / 0.5697 GB, free: 8.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5077, allocations: 0 / 0.5697 GB, free: 8.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005575/0.5083, allocations: 116 kB / 0.5698 GB, free: 8.488 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.0001817/0.5085, allocations: 115.1 kB / 0.5699 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.5103, allocations: 0.9971 MB / 0.5709 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5103, allocations: 0 / 0.5709 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.5114, allocations: 0.7947 MB / 0.5716 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.5118, allocations: 64.47 kB / 0.5717 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.5153, allocations: 1.301 MB / 0.573 GB, free: 5.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.5155, allocations: 190.4 kB / 0.5732 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.5157, allocations: 42.28 kB / 0.5732 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.5158, allocations: 27.42 kB / 0.5732 GB, free: 4.777 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5158, allocations: 0 / 0.5732 GB, free: 4.777 MB / 414.1 MB Notification: Performance of Templates: time 0.01428/0.5301, allocations: 7.044 MB / 0.5801 GB, free: 13.81 MB / 430.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.683732168748975] Failed to read output from testmodel.py, exit status != 0: 0.5400314629077911 0.553903916 0.080749687 Calling exit ...