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.001349/0.001349, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001531/0.001531, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.106/0.106, allocations: 24.13 MB / 337.3 MB, free: 11.43 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.002421/0.002421, allocations: 75.88 kB / 474.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3962, allocations: 59.59 MB / 0.5216 GB, free: 10.45 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.03954/0.4358, allocations: 23.17 MB / 0.5443 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.4373, allocations: 0.7334 MB / 0.545 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.4375, allocations: 4 kB / 0.545 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.4377, allocations: 42.44 kB / 0.545 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.438, allocations: 110.8 kB / 0.5451 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.4384, allocations: 92.61 kB / 0.5452 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.4389, allocations: 422.9 kB / 0.5456 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.4392, allocations: 200.2 kB / 0.5458 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.4395, allocations: 182.7 kB / 0.546 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.4398, allocations: 233 kB / 0.5462 GB, free: 484 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.4399, allocations: 40 kB / 0.5463 GB, free: 444 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.44, allocations: 40 kB / 0.5463 GB, free: 404 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.4401, allocations: 121.8 kB / 0.5464 GB, free: 316 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.4403, allocations: 198.7 kB / 0.5466 GB, free: 136 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.4409, allocations: 449 kB / 0.547 GB, free: 15.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4409, allocations: 5.172 kB / 0.547 GB, free: 15.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4409, allocations: 0 / 0.547 GB, free: 15.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.4409, allocations: 4 kB / 0.547 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.001628/0.4426, allocations: 0.6193 MB / 0.5476 GB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4426, allocations: 8.922 kB / 0.5476 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.4427, allocations: 40.7 kB / 0.5477 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.4431, allocations: 238.1 kB / 0.5479 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.4432, allocations: 16.88 kB / 0.5479 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.4432, allocations: 36.88 kB / 0.548 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.4441, allocations: 344 kB / 0.5483 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4441, allocations: 4.547 kB / 0.5483 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.4441, allocations: 12 kB / 0.5483 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.4441, allocations: 4 kB / 0.5483 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.4449, allocations: 332.6 kB / 0.5486 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.4473, allocations: 1.205 MB / 0.5498 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.4479, allocations: 286.1 kB / 0.5501 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.4484, allocations: 212.1 kB / 0.5503 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.4484, allocations: 8.219 kB / 0.5503 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.4485, allocations: 38.73 kB / 0.5503 GB, free: 12.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.784e-06/0.4485, allocations: 0 / 0.5503 GB, free: 12.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.004908/0.4534, allocations: 1.509 MB / 0.5518 GB, free: 11.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.4534, allocations: 63.28 kB / 0.5519 GB, free: 11.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.4537, allocations: 252.8 kB / 0.5521 GB, free: 11.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.4538, allocations: 29.7 kB / 0.5521 GB, free: 11.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.4539, allocations: 171.3 kB / 0.5523 GB, free: 10.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.454, allocations: 104.2 kB / 0.5524 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.4542, allocations: 59.86 kB / 0.5525 GB, free: 10.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4544, allocations: 344 kB / 0.5528 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.4549, allocations: 190.4 kB / 0.553 GB, free: 10.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.4554, allocations: 227.2 kB / 0.5532 GB, free: 10.11 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.001855/0.4573, allocations: 0.5856 MB / 0.5537 GB, free: 9.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4573, allocations: 4 kB / 0.5538 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001798/0.4591, allocations: 0.6264 MB / 0.5544 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4591, allocations: 8 kB / 0.5544 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4591, allocations: 0.5625 kB / 0.5544 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008179/0.4599, allocations: 171.4 kB / 0.5545 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.4605, allocations: 104.6 kB / 0.5546 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/0.4675, allocations: 7.087 MB / 0.5616 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.468, allocations: 33.86 kB / 0.5616 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.4681, allocations: 8.891 kB / 0.5616 GB, free: 1.375 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.0002808/0.4683, allocations: 163.1 kB / 0.5618 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.4684, allocations: 23.86 kB / 0.5618 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.4701, allocations: 0.6032 MB / 0.5624 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.4701, allocations: 4 kB / 0.5624 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4701, allocations: 0 / 0.5624 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4701, allocations: 6.469 kB / 0.5624 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.4707, allocations: 422.3 kB / 0.5628 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4707, allocations: 0 / 0.5628 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.4713, allocations: 92.77 kB / 0.5629 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005791/0.4719, allocations: 150.6 kB / 0.563 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.472, allocations: 10.11 kB / 0.563 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006035/0.478, allocations: 6.683 MB / 0.5695 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.478, allocations: 4 kB / 0.5696 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.4802, allocations: 0.9016 MB / 0.5704 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.4803, allocations: 23.88 kB / 0.5705 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.4803, allocations: 15.92 kB / 0.5705 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.4807, allocations: 31.91 kB / 0.5705 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.4808, allocations: 43.88 kB / 0.5705 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.4808, allocations: 7.938 kB / 0.5705 GB, free: 7.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.4811, allocations: 189.2 kB / 0.5707 GB, free: 7.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4811, allocations: 0 / 0.5707 GB, free: 7.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005545/0.4816, allocations: 116 kB / 0.5708 GB, free: 7.531 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.0001511/0.4818, allocations: 107.2 kB / 0.5709 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.4837, allocations: 0.9971 MB / 0.5719 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4837, allocations: 3.938 kB / 0.5719 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.4849, allocations: 0.783 MB / 0.5727 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.4854, allocations: 72.42 kB / 0.5728 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.4891, allocations: 1.325 MB / 0.574 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.4897, allocations: 0.7957 MB / 0.5748 GB, free: 3.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.4898, allocations: 23.44 kB / 0.5748 GB, free: 3.23 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4898, allocations: 0 / 0.5748 GB, free: 3.23 MB / 414.1 MB Notification: Performance of Templates: time 0.01567/0.5055, allocations: 10.11 MB / 0.5847 GB, free: 9.121 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: 9.27589619695209] Failed to read output from testmodel.py, exit status != 0: 0.5158987280447036 0.531858506 0.08737698799999995 Calling exit ...