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.00143/0.00143, allocations: 87.56 kB / 20.97 MB, free: 3.586 MB / 18.57 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.00134/0.00134, allocations: 177 kB / 24.27 MB, free: 288 kB / 18.57 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.041/1.041, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.09541/0.09541, allocations: 18.15 MB / 279.2 MB, free: 11.34 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 357.3 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.101e-05/4.412e-05, allocations: 5.125 kB / 357.3 MB, free: 8.16 MB / 282.7 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.02876/0.0288, allocations: 26.11 MB / 383.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.03024, allocations: 0.7014 MB / 384.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.03041, allocations: 3.938 kB / 384.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.03059, allocations: 39.64 kB / 384.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.03083, allocations: 123 kB / 384.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.0313, allocations: 103.7 kB / 384.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.03173, allocations: 426.9 kB / 384.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.03205, allocations: 204.3 kB / 385 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.03237, allocations: 171.5 kB / 385.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.03264, allocations: 203.5 kB / 385.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.03269, allocations: 40 kB / 385.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.03274, allocations: 40 kB / 385.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.03285, allocations: 127.6 kB / 385.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.03298, allocations: 147.7 kB / 385.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.03331, allocations: 318.9 kB / 386 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.03331, allocations: 0 / 386 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.03331, allocations: 0 / 386 MB, free: 11.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.03332, allocations: 3.984 kB / 386 MB, free: 11.59 MB / 314.7 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.0009206/0.03424, allocations: 0.6985 MB / 386.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.03428, allocations: 8.922 kB / 386.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.03439, allocations: 60.7 kB / 386.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.03467, allocations: 243.5 kB / 387 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.0347, allocations: 24.88 kB / 387 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.03474, allocations: 24.38 kB / 387 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.03509, allocations: 225.3 kB / 387.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.0351, allocations: 192 / 387.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.03513, allocations: 12.12 kB / 387.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.03514, allocations: 4 kB / 387.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.03537, allocations: 130.8 kB / 387.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.03661, allocations: 0.7862 MB / 388.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.03684, allocations: 139.9 kB / 388.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.037, allocations: 96.11 kB / 388.4 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.03702, allocations: 8.234 kB / 388.4 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.03705, allocations: 37.62 kB / 388.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 2.195e-06/0.03705, allocations: 0 / 388.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001878/0.03893, allocations: 0.9049 MB / 389.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.03897, allocations: 55.41 kB / 389.4 MB, free: 7.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.03916, allocations: 280.3 kB / 389.7 MB, free: 7.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.03919, allocations: 33.7 kB / 389.7 MB, free: 7.621 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.0393, allocations: 215.4 kB / 389.9 MB, free: 7.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.03936, allocations: 115.1 kB / 390.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.03945, allocations: 67.3 kB / 390.1 MB, free: 7.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.03958, allocations: 0.5117 MB / 390.6 MB, free: 6.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.0397, allocations: 63.95 kB / 390.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.03985, allocations: 102.8 kB / 390.8 MB, free: 6.52 MB / 314.7 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.000502/0.04035, allocations: 247.7 kB / 391 MB, free: 6.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.04035, allocations: 0 / 391 MB, free: 6.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005982/0.04095, allocations: 375.5 kB / 391.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.04097, allocations: 11.94 kB / 391.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.04097, allocations: 0 / 391.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/0.04145, allocations: 162.2 kB / 391.6 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.04175, allocations: 91.94 kB / 391.7 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/0.04599, allocations: 8.978 MB / 400.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.04617, allocations: 20.17 kB / 400.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.04619, allocations: 16 kB / 400.7 MB, free: 11.94 MB / 330.7 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.0001507/0.04634, allocations: 176.4 kB / 400.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.04639, allocations: 35.86 kB / 400.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.04692, allocations: 375 kB / 401.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.04693, allocations: 7.984 kB / 401.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.04693, allocations: 0 / 401.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.04693, allocations: 0 / 401.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.0472, allocations: 264.4 kB / 401.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.04721, allocations: 0 / 401.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.04748, allocations: 95.88 kB / 401.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.04778, allocations: 138.3 kB / 401.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.0478, allocations: 8 kB / 401.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/0.05095, allocations: 8.7 MB / 410.5 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.05096, allocations: 0 / 410.5 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.05163, allocations: 0.5644 MB / 411 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.05166, allocations: 27.8 kB / 411 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.05169, allocations: 8 kB / 411.1 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.05182, allocations: 15.98 kB / 411.1 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.05192, allocations: 43.86 kB / 411.1 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.05194, allocations: 8 kB / 411.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.05206, allocations: 205.1 kB / 411.3 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05206, allocations: 0 / 411.3 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.05242, allocations: 119.9 kB / 411.4 MB, free: 440 kB / 330.7 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.0001258/0.05255, allocations: 107.2 kB / 411.5 MB, free: 320 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1159/0.1685, allocations: 1.055 MB / 412.6 MB, free: 60.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1685, allocations: 3.969 kB / 412.6 MB, free: 60.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.169, allocations: 0.9496 MB / 413.5 MB, free: 60.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1693, allocations: 65.5 kB / 413.6 MB, free: 60.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1718, allocations: 1.093 MB / 414.7 MB, free: 59.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.229e-05/0.1719, allocations: 109.3 kB / 414.8 MB, free: 59.67 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.172, allocations: 37.2 kB / 414.9 MB, free: 59.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.1721, allocations: 25.73 kB / 414.9 MB, free: 59.66 MB / 330.7 MB Notification: Performance of SimCode: time 3.116e-06/0.1721, allocations: 0 / 414.9 MB, free: 59.66 MB / 330.7 MB Notification: Performance of Templates: time 0.009275/0.1814, allocations: 6.791 MB / 421.7 MB, free: 58.4 MB / 330.7 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2861792140174657]