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.001831/0.001831, allocations: 83.03 kB / 19.96 MB, free: 1.754 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.001437/0.001437, allocations: 165.5 kB / 23.23 MB, free: 4.883 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.487/1.487, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.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.1062/0.1062, allocations: 18.15 MB / 278.1 MB, free: 15.05 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: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 415.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.659e-05/3.896e-05, allocations: 2.281 kB / 415.6 MB, free: 2.559 MB / 334.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.03374/0.03377, allocations: 23.51 MB / 439.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.03566, allocations: 0.6779 MB / 439.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.03586, allocations: 4 kB / 439.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.03606, allocations: 35.66 kB / 439.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.03636, allocations: 127 kB / 439.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.03682, allocations: 99.73 kB / 440 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000578/0.03739, allocations: 434.8 kB / 440.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.03776, allocations: 196 kB / 440.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.0381, allocations: 167.6 kB / 440.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.03846, allocations: 195.5 kB / 441 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.08e-05/0.03854, allocations: 36 kB / 441 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.03864, allocations: 44 kB / 441.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.0388, allocations: 135.6 kB / 441.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.03902, allocations: 135.7 kB / 441.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005844/0.0396, allocations: 482.5 kB / 441.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.03961, allocations: 0 / 441.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.03961, allocations: 0 / 441.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.03963, allocations: 0 / 441.8 MB, free: 8.469 MB / 366.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.00157/0.0412, allocations: 0.6064 MB / 442.4 MB, free: 7.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.04123, allocations: 16.92 kB / 442.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.681e-05/0.04133, allocations: 40.69 kB / 442.5 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.04176, allocations: 244.7 kB / 442.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.04179, allocations: 20.88 kB / 442.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.04186, allocations: 28.33 kB / 442.8 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.04263, allocations: 344.5 kB / 443.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.04264, allocations: 192 / 443.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.04268, allocations: 12.12 kB / 443.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.04269, allocations: 8 kB / 443.1 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008054/0.0435, allocations: 329.8 kB / 443.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.04547, allocations: 0.8416 MB / 444.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.04608, allocations: 271.4 kB / 444.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.04658, allocations: 217.2 kB / 444.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.04661, allocations: 4.234 kB / 444.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.04664, allocations: 34.73 kB / 444.8 MB, free: 5.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.04664, allocations: 0 / 444.8 MB, free: 5.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.004923/0.05157, allocations: 1.515 MB / 446.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.05161, allocations: 55.41 kB / 446.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.05191, allocations: 245.9 kB / 446.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.05195, allocations: 29.7 kB / 446.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.05207, allocations: 164.8 kB / 446.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.05218, allocations: 111.1 kB / 446.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.05231, allocations: 57.69 kB / 447 MB, free: 3.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.05249, allocations: 342.8 kB / 447.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.053, allocations: 191.9 kB / 447.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/0.05361, allocations: 217.6 kB / 447.7 MB, free: 2.363 MB / 366.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.00191/0.05552, allocations: 0.5798 MB / 448.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.05553, allocations: 4 kB / 448.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001773/0.0573, allocations: 0.6415 MB / 448.9 MB, free: 1.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.05732, allocations: 8 kB / 448.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.05733, allocations: 0 / 448.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007873/0.05811, allocations: 168.2 kB / 449.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.05875, allocations: 103.9 kB / 449.2 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1784/0.2371, allocations: 6.94 MB / 456.1 MB, free: 38.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.2376, allocations: 31.92 kB / 456.2 MB, free: 38.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.2377, allocations: 11.95 kB / 456.2 MB, free: 38.55 MB / 366.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.0002556/0.2379, allocations: 154.9 kB / 456.3 MB, free: 38.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.238, allocations: 30.17 kB / 456.4 MB, free: 38.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.2397, allocations: 0.603 MB / 457 MB, free: 38.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2397, allocations: 3.969 kB / 457 MB, free: 38.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2397, allocations: 2.156 kB / 457 MB, free: 38.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2397, allocations: 9.047 kB / 457 MB, free: 38.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.2402, allocations: 314 kB / 457.3 MB, free: 37.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.2402, allocations: 1.766 kB / 457.3 MB, free: 37.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/0.2408, allocations: 94.69 kB / 457.4 MB, free: 37.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/0.2414, allocations: 144.9 kB / 457.5 MB, free: 37.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/0.2414, allocations: 12.33 kB / 457.5 MB, free: 37.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.2452, allocations: 6.566 MB / 464.1 MB, free: 31.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2452, allocations: 6.594 kB / 464.1 MB, free: 31.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.2473, allocations: 0.8965 MB / 465 MB, free: 31.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.2473, allocations: 28.77 kB / 465 MB, free: 31.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.2474, allocations: 9.578 kB / 465 MB, free: 31.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.2477, allocations: 26.75 kB / 465.1 MB, free: 31.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.2479, allocations: 39.56 kB / 465.1 MB, free: 31.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.2479, allocations: 6.922 kB / 465.1 MB, free: 31.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.2481, allocations: 179.9 kB / 465.3 MB, free: 31.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2481, allocations: 4.297 kB / 465.3 MB, free: 31.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005682/0.2487, allocations: 110 kB / 465.4 MB, free: 31.01 MB / 366.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.0001539/0.2488, allocations: 113.8 kB / 465.5 MB, free: 30.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.2505, allocations: 1.003 MB / 466.5 MB, free: 30.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2505, allocations: 0 / 466.5 MB, free: 30.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.2514, allocations: 0.7871 MB / 467.3 MB, free: 29.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.2518, allocations: 66.05 kB / 467.4 MB, free: 29.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.2552, allocations: 1.139 MB / 468.5 MB, free: 29.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.2554, allocations: 186.5 kB / 468.7 MB, free: 29.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.2557, allocations: 49.72 kB / 468.7 MB, free: 29.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2558, allocations: 28.73 kB / 468.8 MB, free: 29.08 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2558, allocations: 0 / 468.8 MB, free: 29.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01491/0.2707, allocations: 6.671 MB / 475.4 MB, free: 27.54 MB / 366.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.123278204351664] Failed to read output from testmodel.py, exit status != 0: 0.2799866162240505 0.290009243 0.24813089500000002 Calling exit ...