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.001026/0.001026, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009816/0.0009816, allocations: 165 kB / 23.82 MB, free: 0.7539 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.933/0.933, allocations: 177.1 MB / 204.2 MB, free: 5.223 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.06603/0.06603, allocations: 18.14 MB / 278.9 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.112e-06/1.112e-06, allocations: 0 / 357.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.076e-05, allocations: 2.312 kB / 357.3 MB, free: 8.828 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.02063/0.02065, allocations: 26.17 MB / 383.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.02183, allocations: 0.6897 MB / 384.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.02192, allocations: 4 kB / 384.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.02207, allocations: 39.64 kB / 384.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.02224, allocations: 119 kB / 384.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.02254, allocations: 103.7 kB / 384.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.02299, allocations: 430.9 kB / 384.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.02322, allocations: 208.3 kB / 385.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.02342, allocations: 171.5 kB / 385.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.02364, allocations: 199.5 kB / 385.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.02369, allocations: 40 kB / 385.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.02374, allocations: 36 kB / 385.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.02383, allocations: 131.6 kB / 385.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.02393, allocations: 143.7 kB / 385.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.0242, allocations: 323 kB / 386.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.0242, allocations: 0 / 386.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0242, allocations: 0 / 386.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.02421, allocations: 4 kB / 386.1 MB, free: 12.21 MB / 362.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.0008056/0.02501, allocations: 0.6985 MB / 386.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.02505, allocations: 12.91 kB / 386.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.02513, allocations: 60.7 kB / 386.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.02538, allocations: 243.5 kB / 387.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.0254, allocations: 20.88 kB / 387.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.02544, allocations: 28.33 kB / 387.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.02579, allocations: 233.2 kB / 387.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.0258, allocations: 192 / 387.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.02582, allocations: 8.125 kB / 387.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.02583, allocations: 8 kB / 387.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.02605, allocations: 126.8 kB / 387.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.02707, allocations: 0.7822 MB / 388.3 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.02729, allocations: 147.9 kB / 388.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.02744, allocations: 92.12 kB / 388.5 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.02747, allocations: 8.234 kB / 388.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.02749, allocations: 37.62 kB / 388.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.222e-06/0.02749, allocations: 0 / 388.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001682/0.02917, allocations: 0.8955 MB / 389.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.0292, allocations: 55.41 kB / 389.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.02937, allocations: 284.3 kB / 389.8 MB, free: 8.277 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.02939, allocations: 29.7 kB / 389.8 MB, free: 8.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.02947, allocations: 219.5 kB / 390 MB, free: 8.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.02954, allocations: 111.1 kB / 390.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.02962, allocations: 63.36 kB / 390.2 MB, free: 7.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.02974, allocations: 0.5117 MB / 390.7 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.02986, allocations: 63.89 kB / 390.8 MB, free: 7.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.02999, allocations: 103.1 kB / 390.9 MB, free: 7.145 MB / 362.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.0004515/0.03044, allocations: 243.6 kB / 391.1 MB, free: 6.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.03044, allocations: 4.094 kB / 391.1 MB, free: 6.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005697/0.03101, allocations: 371.5 kB / 391.5 MB, free: 6.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.03103, allocations: 8 kB / 391.5 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.03103, allocations: 4.031 kB / 391.5 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.03159, allocations: 158.2 kB / 391.7 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.03187, allocations: 95.92 kB / 391.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/0.03542, allocations: 8.978 MB / 400.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.03555, allocations: 23.92 kB / 400.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.03557, allocations: 19.97 kB / 400.8 MB, free: 12.55 MB / 378.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.0001153/0.03569, allocations: 172.6 kB / 400.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.03574, allocations: 35.86 kB / 401 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.03623, allocations: 375 kB / 401.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.03623, allocations: 4 kB / 401.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.03624, allocations: 8 kB / 401.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.03624, allocations: 4.078 kB / 401.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.03648, allocations: 264.4 kB / 401.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.03649, allocations: 0 / 401.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.03675, allocations: 91.88 kB / 401.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/0.03704, allocations: 142.3 kB / 401.8 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.03706, allocations: 8 kB / 401.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.04022, allocations: 8.692 MB / 410.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.04022, allocations: 256 / 410.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.04089, allocations: 0.572 MB / 411.1 MB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.04091, allocations: 23.84 kB / 411.1 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.04094, allocations: 4 kB / 411.1 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.04107, allocations: 23.98 kB / 411.2 MB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.04115, allocations: 39.86 kB / 411.2 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.04117, allocations: 12 kB / 411.2 MB, free: 1.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.04127, allocations: 201.1 kB / 411.4 MB, free: 1.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04127, allocations: 0 / 411.4 MB, free: 1.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000305/0.04158, allocations: 119.9 kB / 411.5 MB, free: 1.043 MB / 378.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.0001083/0.04169, allocations: 111.2 kB / 411.6 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007202/0.04241, allocations: 1.059 MB / 412.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.04241, allocations: 4.062 kB / 412.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.04305, allocations: 0.9543 MB / 413.7 MB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.04334, allocations: 64.53 kB / 413.7 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.0453, allocations: 1.083 MB / 414.8 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.689e-05/0.04536, allocations: 120.6 kB / 414.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.04547, allocations: 34.27 kB / 415 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/0.04555, allocations: 24.5 kB / 415 MB, free: 13.35 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04555, allocations: 0 / 415 MB, free: 13.35 MB / 394.7 MB Notification: Performance of Templates: time 0.007789/0.05334, allocations: 6.79 MB / 421.8 MB, free: 6.648 MB / 394.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.2698242412880063]