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.001336/0.001336, allocations: 107.8 kB / 16.46 MB, free: 6.512 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.001407/0.001407, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.1019/0.1019, allocations: 22.94 MB / 331.8 MB, free: 13.88 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.002041/0.002041, allocations: 71.89 kB / 466.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 59.26 MB / 0.5135 GB, free: 10.77 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.03927/0.4209, allocations: 23.71 MB / 0.5366 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.4226, allocations: 0.7272 MB / 0.5373 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.4227, allocations: 2.406 kB / 0.5373 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.4229, allocations: 44.84 kB / 0.5374 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.4231, allocations: 110.3 kB / 0.5375 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.4235, allocations: 95.28 kB / 0.5376 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.4239, allocations: 420.8 kB / 0.538 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.4243, allocations: 208.3 kB / 0.5382 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.4245, allocations: 178.4 kB / 0.5383 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.4249, allocations: 226.1 kB / 0.5386 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.4249, allocations: 46.48 kB / 0.5386 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.425, allocations: 43.38 kB / 0.5387 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.4251, allocations: 128.5 kB / 0.5388 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.4253, allocations: 189.4 kB / 0.539 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.4259, allocations: 459.5 kB / 0.5394 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4259, allocations: 0 / 0.5394 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4259, allocations: 0 / 0.5394 GB, free: 1.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.4259, allocations: 1.219 kB / 0.5394 GB, free: 1.156 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.001361/0.4272, allocations: 0.6956 MB / 0.5401 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4273, allocations: 9.688 kB / 0.5401 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.4274, allocations: 42.7 kB / 0.5401 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.4277, allocations: 294.4 kB / 0.5404 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.4278, allocations: 18.84 kB / 0.5404 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.4278, allocations: 29.05 kB / 0.5404 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.4286, allocations: 351.8 kB / 0.5408 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4286, allocations: 4.875 kB / 0.5408 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.4286, allocations: 9.781 kB / 0.5408 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.4287, allocations: 6.219 kB / 0.5408 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007853/0.4294, allocations: 334.8 kB / 0.5411 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.4318, allocations: 1.25 MB / 0.5423 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.4324, allocations: 281.8 kB / 0.5426 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.4329, allocations: 220.1 kB / 0.5428 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.433, allocations: 4.234 kB / 0.5428 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.433, allocations: 38.8 kB / 0.5429 GB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.433, allocations: 0 / 0.5429 GB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.005465/0.4385, allocations: 1.962 MB / 0.5448 GB, free: 12.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.4385, allocations: 55.34 kB / 0.5448 GB, free: 12.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.4389, allocations: 257.7 kB / 0.5451 GB, free: 12.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.439, allocations: 33.7 kB / 0.5451 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.4391, allocations: 167 kB / 0.5453 GB, free: 11.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.4393, allocations: 108.1 kB / 0.5454 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4394, allocations: 59.91 kB / 0.5454 GB, free: 11.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4396, allocations: 339.8 kB / 0.5458 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.4401, allocations: 202.4 kB / 0.5459 GB, free: 11.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.4406, allocations: 220.2 kB / 0.5462 GB, free: 11.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.001991/0.4426, allocations: 0.6558 MB / 0.5468 GB, free: 10.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4426, allocations: 0 / 0.5468 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001803/0.4444, allocations: 0.6381 MB / 0.5474 GB, free: 9.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4444, allocations: 8 kB / 0.5474 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4445, allocations: 0 / 0.5474 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008232/0.4453, allocations: 171.8 kB / 0.5476 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.4459, allocations: 100.4 kB / 0.5477 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/0.4532, allocations: 7.601 MB / 0.5551 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.4537, allocations: 30.45 kB / 0.5551 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.4537, allocations: 8.75 kB / 0.5551 GB, free: 1.648 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.0002714/0.454, allocations: 163.4 kB / 0.5553 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.4541, allocations: 27.81 kB / 0.5553 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.4558, allocations: 0.6034 MB / 0.5559 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4558, allocations: 11.98 kB / 0.5559 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4558, allocations: 4 kB / 0.5559 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4558, allocations: 1.547 kB / 0.5559 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.4565, allocations: 448.2 kB / 0.5564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4565, allocations: 0 / 0.5564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.4571, allocations: 92.94 kB / 0.5565 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005603/0.4577, allocations: 146.9 kB / 0.5566 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.4577, allocations: 5.734 kB / 0.5566 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006279/0.464, allocations: 7.204 MB / 0.5636 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.464, allocations: 0 / 0.5636 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.4663, allocations: 0.8928 MB / 0.5645 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.4665, allocations: 107.5 kB / 0.5646 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.4665, allocations: 12.73 kB / 0.5646 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.4669, allocations: 33.95 kB / 0.5647 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.467, allocations: 36.28 kB / 0.5647 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.467, allocations: 13.41 kB / 0.5647 GB, free: 7.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.4673, allocations: 187.5 kB / 0.5649 GB, free: 7.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4673, allocations: 0 / 0.5649 GB, free: 7.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005703/0.4678, allocations: 112 kB / 0.565 GB, free: 7.363 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.00023/0.4681, allocations: 113.2 kB / 0.5651 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.47, allocations: 1.002 MB / 0.5661 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.47, allocations: 0 / 0.5661 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.4712, allocations: 0.7927 MB / 0.5668 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.4716, allocations: 75.33 kB / 0.5669 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.4753, allocations: 1.271 MB / 0.5682 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.4758, allocations: 0.7957 MB / 0.5689 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.476, allocations: 46.95 kB / 0.569 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.4761, allocations: 31.42 kB / 0.569 GB, free: 3.277 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4761, allocations: 0 / 0.569 GB, free: 3.277 MB / 414.1 MB Notification: Performance of Templates: time 0.01286/0.489, allocations: 6.467 MB / 0.5753 GB, free: 12.84 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: 5.443484704941511] Failed to read output from testmodel.py, exit status != 0: 0.4990646317601204 0.511333573 0.08265005900000001 Calling exit ...