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.0007746/0.0007746, allocations: 79.69 kB / 20.8 MB, free: 3.711 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.0008089/0.0008089, allocations: 169.3 kB / 24.09 MB, free: 424 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 0.8975/0.8975, allocations: 177.1 MB / 204.4 MB, free: 5.707 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.06007/0.06007, allocations: 18.14 MB / 279 MB, free: 11.47 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 1.493e-06/1.493e-06, allocations: 0 / 416.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.652e-05, allocations: 2.281 kB / 416.6 MB, free: 12.5 MB / 330.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.02212/0.02215, allocations: 23.52 MB / 440.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.02359, allocations: 0.6753 MB / 440.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.02371, allocations: 7.938 kB / 440.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.02387, allocations: 39.41 kB / 440.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.02407, allocations: 119.8 kB / 440.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.02442, allocations: 107.1 kB / 441 MB, free: 14.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.02482, allocations: 429.9 kB / 441.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.02512, allocations: 200.9 kB / 441.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.02538, allocations: 162.9 kB / 441.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.02563, allocations: 201.1 kB / 442 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.02568, allocations: 36 kB / 442 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.717e-05/0.02573, allocations: 40 kB / 442.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.02585, allocations: 133.6 kB / 442.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.02598, allocations: 142.9 kB / 442.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.02642, allocations: 477.7 kB / 442.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.02642, allocations: 0 / 442.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.02642, allocations: 0.5156 kB / 442.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.02643, allocations: 0 / 442.8 MB, free: 12.83 MB / 346.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.000914/0.02735, allocations: 0.608 MB / 443.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.02739, allocations: 16.92 kB / 443.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.02745, allocations: 37.5 kB / 443.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.02774, allocations: 237.4 kB / 443.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.02777, allocations: 20.88 kB / 443.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.02781, allocations: 28.33 kB / 443.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.02831, allocations: 345 kB / 444.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.02832, allocations: 192 / 444.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.02835, allocations: 12.12 kB / 444.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.02835, allocations: 8 kB / 444.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.02884, allocations: 328.8 kB / 444.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.03009, allocations: 0.8464 MB / 445.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.03049, allocations: 278.8 kB / 445.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.0308, allocations: 219.5 kB / 445.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.03082, allocations: 1.031 kB / 445.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.03084, allocations: 38.8 kB / 445.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.185e-06/0.03085, allocations: 0 / 445.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.002696/0.03354, allocations: 1.519 MB / 447.3 MB, free: 8.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.03358, allocations: 60.09 kB / 447.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.0338, allocations: 242.2 kB / 447.6 MB, free: 8.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.03382, allocations: 29.7 kB / 447.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.03391, allocations: 169 kB / 447.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.03398, allocations: 114 kB / 447.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.177e-05/0.03406, allocations: 56.14 kB / 448 MB, free: 8.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.03415, allocations: 343.1 kB / 448.3 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.03443, allocations: 190.5 kB / 448.5 MB, free: 7.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.03472, allocations: 219.8 kB / 448.7 MB, free: 7.5 MB / 346.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.001023/0.03575, allocations: 0.5779 MB / 449.3 MB, free: 7.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.03575, allocations: 3.938 kB / 449.3 MB, free: 7.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009329/0.03668, allocations: 0.6364 MB / 449.9 MB, free: 6.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.0367, allocations: 11.94 kB / 449.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.03671, allocations: 0 / 449.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.03712, allocations: 169.8 kB / 450.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.03748, allocations: 104.2 kB / 450.2 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/0.04114, allocations: 6.939 MB / 457.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.04132, allocations: 35.98 kB / 457.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.04134, allocations: 12 kB / 457.2 MB, free: 14.94 MB / 362.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.0001486/0.04149, allocations: 149.8 kB / 457.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.04153, allocations: 31.75 kB / 457.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007922/0.04232, allocations: 0.61 MB / 458 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.04232, allocations: 8 kB / 458 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.04233, allocations: 3.984 kB / 458 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.04233, allocations: 4 kB / 458 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.04261, allocations: 309.9 kB / 458.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.04262, allocations: 0 / 458.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.0429, allocations: 91.86 kB / 458.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.04314, allocations: 140.2 kB / 458.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.04316, allocations: 15.98 kB / 458.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.04585, allocations: 6.564 MB / 465.1 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.04585, allocations: 4.031 kB / 465.1 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.04691, allocations: 0.8936 MB / 466 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.04694, allocations: 27.88 kB / 466 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.04697, allocations: 11.98 kB / 466 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.04711, allocations: 23.97 kB / 466.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.0472, allocations: 35.94 kB / 466.1 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.04722, allocations: 11.98 kB / 466.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.04733, allocations: 177.2 kB / 466.3 MB, free: 5.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04733, allocations: 0 / 466.3 MB, free: 5.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003543/0.04769, allocations: 119.9 kB / 466.4 MB, free: 5.109 MB / 362.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.0001126/0.0478, allocations: 107.2 kB / 466.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009512/0.04875, allocations: 1.001 MB / 467.5 MB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.04875, allocations: 0 / 467.5 MB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.04928, allocations: 0.7868 MB / 468.3 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.04957, allocations: 64.52 kB / 468.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.05136, allocations: 1.139 MB / 469.5 MB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.05148, allocations: 194.4 kB / 469.7 MB, free: 1.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.05161, allocations: 50.25 kB / 469.7 MB, free: 1.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.05168, allocations: 24.5 kB / 469.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05168, allocations: 0 / 469.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of Templates: time 0.007734/0.05941, allocations: 6.671 MB / 476.4 MB, free: 10.97 MB / 378.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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 2.991582738235593] Failed to read output from testmodel.py, exit status != 0: 0.06593948323279619 0.07340352700000001 0.045307217000000004 Calling exit ...