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.0009541/0.0009541, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.0009651/0.0009651, allocations: 162.9 kB / 24.86 MB, free: 8.715 MB / 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.9694/0.9694, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.0858/0.0858, allocations: 18.14 MB / 280 MB, free: 11.15 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 / 358.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.131e-05, allocations: 2.312 kB / 358.6 MB, free: 7.484 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.03695/0.03697, allocations: 26.19 MB / 384.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.03896, allocations: 0.6974 MB / 385.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.03916, allocations: 4 kB / 385.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.03939, allocations: 35.64 kB / 385.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.03967, allocations: 119 kB / 385.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.0401, allocations: 103.7 kB / 385.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.04058, allocations: 430.9 kB / 386.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.0409, allocations: 208.3 kB / 386.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.04123, allocations: 175.5 kB / 386.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.04155, allocations: 199.5 kB / 386.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/0.04162, allocations: 44 kB / 386.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.04168, allocations: 36 kB / 386.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.04182, allocations: 131.6 kB / 386.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.04199, allocations: 147.7 kB / 387.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.04238, allocations: 323 kB / 387.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.04238, allocations: 0 / 387.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.04238, allocations: 0 / 387.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.04239, allocations: 0 / 387.4 MB, free: 10.83 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.001359/0.04375, allocations: 0.6945 MB / 388.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.04378, allocations: 12.92 kB / 388.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.0439, allocations: 56.7 kB / 388.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.0442, allocations: 227.5 kB / 388.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.04423, allocations: 20.88 kB / 388.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.04429, allocations: 28.36 kB / 388.4 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.04468, allocations: 197.3 kB / 388.6 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.04469, allocations: 4.172 kB / 388.6 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.04472, allocations: 20.06 kB / 388.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.04473, allocations: 4 kB / 388.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.04497, allocations: 103.4 kB / 388.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.04633, allocations: 0.7126 MB / 389.4 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.04657, allocations: 131.9 kB / 389.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.04674, allocations: 84.11 kB / 389.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.04676, allocations: 4.234 kB / 389.7 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.04679, allocations: 41.62 kB / 389.7 MB, free: 8.375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.04679, allocations: 0 / 389.7 MB, free: 8.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002152/0.04894, allocations: 0.7997 MB / 390.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.04898, allocations: 51.41 kB / 390.6 MB, free: 7.457 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.04919, allocations: 288.2 kB / 390.8 MB, free: 7.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.04922, allocations: 37.64 kB / 390.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.04934, allocations: 211.4 kB / 391.1 MB, free: 6.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.234e-05/0.04943, allocations: 115 kB / 391.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.04955, allocations: 67.31 kB / 391.3 MB, free: 6.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.04972, allocations: 0.5117 MB / 391.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.04985, allocations: 43.97 kB / 391.8 MB, free: 6.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.05, allocations: 95.41 kB / 391.9 MB, free: 6.047 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.000569/0.05057, allocations: 219.6 kB / 392.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.05057, allocations: 0 / 392.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005586/0.05113, allocations: 343.5 kB / 392.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.05114, allocations: 4 kB / 392.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.05115, allocations: 0 / 392.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.05154, allocations: 166.2 kB / 392.6 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.05181, allocations: 87.83 kB / 392.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/0.0554, allocations: 8.867 MB / 401.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.05552, allocations: 15.98 kB / 401.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.05553, allocations: 8 kB / 401.6 MB, free: 11.7 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.0001195/0.05565, allocations: 172.5 kB / 401.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.0557, allocations: 39.8 kB / 401.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.05612, allocations: 343 kB / 402.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.05612, allocations: 4 kB / 402.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.05612, allocations: 0 / 402.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.05613, allocations: 3.984 kB / 402.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.05661, allocations: 229.1 kB / 402.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.05661, allocations: 0 / 402.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.05686, allocations: 79.89 kB / 402.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.05713, allocations: 138.3 kB / 402.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.05716, allocations: 20 kB / 402.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.06025, allocations: 8.586 MB / 411.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.06025, allocations: 0 / 411.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.0608, allocations: 0.5253 MB / 411.7 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.06082, allocations: 23.86 kB / 411.7 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.06085, allocations: 11.98 kB / 411.7 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.06097, allocations: 12 kB / 411.8 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.748e-05/0.06105, allocations: 39.86 kB / 411.8 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.06106, allocations: 4 kB / 411.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.092e-05/0.06114, allocations: 201.1 kB / 412 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06114, allocations: 0 / 412 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.06146, allocations: 116 kB / 412.1 MB, free: 492 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.0001069/0.06156, allocations: 107.2 kB / 412.2 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1035/0.1651, allocations: 1.03 MB / 413.2 MB, free: 57.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.1651, allocations: 3.062 kB / 413.2 MB, free: 57.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.1655, allocations: 0.9405 MB / 414.2 MB, free: 56.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1659, allocations: 73.92 kB / 414.3 MB, free: 56.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1678, allocations: 1.029 MB / 415.3 MB, free: 55.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.75e-05/0.1679, allocations: 105.9 kB / 415.4 MB, free: 55.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.168, allocations: 27.77 kB / 415.4 MB, free: 55.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.1682, allocations: 141.4 kB / 415.6 MB, free: 55.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1682, allocations: 0 / 415.6 MB, free: 55.76 MB / 330.7 MB Notification: Performance of Templates: time 0.009451/0.1776, allocations: 7.392 MB / 422.9 MB, free: 54.51 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.1183507149107754]