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.0008024/0.0008024, allocations: 84.44 kB / 20.71 MB, free: 3.848 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.0007838/0.0007838, allocations: 165.2 kB / 23.98 MB, free: 0.5742 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.8455/0.8455, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.05818/0.05818, allocations: 18.13 MB / 278.8 MB, free: 11.51 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.363e-06/1.363e-06, allocations: 0 / 416.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.496e-05, allocations: 3.047 kB / 416.3 MB, free: 12.52 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.02161/0.02164, allocations: 23.47 MB / 439.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.0229, allocations: 0.6791 MB / 440.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.02304, allocations: 4 kB / 440.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.02319, allocations: 46.91 kB / 440.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.02339, allocations: 111.8 kB / 440.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.02377, allocations: 107.5 kB / 440.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.02418, allocations: 433.9 kB / 441.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.02447, allocations: 197 kB / 441.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.02477, allocations: 170.5 kB / 441.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.02503, allocations: 197.4 kB / 441.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.02508, allocations: 40 kB / 441.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-05/0.02513, allocations: 39.94 kB / 441.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.854e-05/0.02522, allocations: 125.7 kB / 441.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.02535, allocations: 147.1 kB / 442.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.02579, allocations: 470.1 kB / 442.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.02579, allocations: 0 / 442.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.02579, allocations: 0 / 442.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.0258, allocations: 0 / 442.5 MB, free: 12.97 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.0009253/0.02672, allocations: 0.6235 MB / 443.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.02676, allocations: 8.922 kB / 443.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.02682, allocations: 37.31 kB / 443.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.02711, allocations: 241.4 kB / 443.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.02713, allocations: 16.88 kB / 443.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.02718, allocations: 33.06 kB / 443.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.02766, allocations: 344.3 kB / 443.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.02767, allocations: 192 / 443.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.02769, allocations: 16.64 kB / 443.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.0277, allocations: 4 kB / 443.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.02815, allocations: 331.9 kB / 444.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.02937, allocations: 0.8469 MB / 445 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.02973, allocations: 274.3 kB / 445.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.03002, allocations: 215.3 kB / 445.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.03005, allocations: 4.984 kB / 445.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.03007, allocations: 34.8 kB / 445.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.03007, allocations: 0 / 445.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.002552/0.03262, allocations: 1.519 MB / 447 MB, free: 8.949 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.03265, allocations: 60.06 kB / 447.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.03284, allocations: 242.4 kB / 447.3 MB, free: 8.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.03287, allocations: 29.7 kB / 447.4 MB, free: 8.621 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.03295, allocations: 167.6 kB / 447.5 MB, free: 8.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.03302, allocations: 107.4 kB / 447.6 MB, free: 8.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.0331, allocations: 59.95 kB / 447.7 MB, free: 8.309 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.03319, allocations: 339.2 kB / 448 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.03347, allocations: 190.4 kB / 448.2 MB, free: 7.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.03376, allocations: 223.9 kB / 448.4 MB, free: 7.637 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.0009916/0.03475, allocations: 0.5796 MB / 449 MB, free: 7.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.03475, allocations: 3.938 kB / 449 MB, free: 7.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009124/0.03567, allocations: 0.6378 MB / 449.7 MB, free: 6.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.03568, allocations: 4.797 kB / 449.7 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.03569, allocations: 0 / 449.7 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/0.03605, allocations: 167.9 kB / 449.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.03635, allocations: 105.3 kB / 449.9 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.0398, allocations: 6.945 MB / 456.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.03998, allocations: 30.38 kB / 456.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.04, allocations: 12.75 kB / 456.9 MB, free: 15.1 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.0001638/0.04016, allocations: 163 kB / 457.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.0402, allocations: 27.81 kB / 457.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.04097, allocations: 0.6104 MB / 457.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.04097, allocations: 0 / 457.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.04097, allocations: 4 kB / 457.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.04098, allocations: 3.938 kB / 457.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.04126, allocations: 317.8 kB / 458 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.04127, allocations: 0 / 458 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.04154, allocations: 100 kB / 458.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.04177, allocations: 148.1 kB / 458.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.0418, allocations: 7.984 kB / 458.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/0.04446, allocations: 6.556 MB / 464.8 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.04446, allocations: 0 / 464.8 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.04551, allocations: 0.8938 MB / 465.7 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.04554, allocations: 27.8 kB / 465.8 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.04557, allocations: 16.06 kB / 465.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.04572, allocations: 23.97 kB / 465.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.04582, allocations: 39.86 kB / 465.8 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.04583, allocations: 8 kB / 465.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.04594, allocations: 177.2 kB / 466 MB, free: 5.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04594, allocations: 0 / 466 MB, free: 5.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.0463, allocations: 119.9 kB / 466.1 MB, free: 5.27 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.0001247/0.04643, allocations: 107.2 kB / 466.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009336/0.04736, allocations: 1.001 MB / 467.2 MB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.04736, allocations: 3.938 kB / 467.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005159/0.04788, allocations: 0.7791 MB / 468 MB, free: 3.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.04818, allocations: 68.52 kB / 468.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.04995, allocations: 1.189 MB / 469.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.05008, allocations: 194.4 kB / 469.5 MB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.05017, allocations: 28.48 kB / 469.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.05017, allocations: 0 / 469.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of Templates: time 0.007845/0.05802, allocations: 10.25 MB / 479.7 MB, free: 7.473 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 -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.531410137191415] Failed to read output from testmodel.py, exit status != 0: 0.0640929127112031 0.071756079 0.044321092 Calling exit ...