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.001821/0.001821, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.002212/0.002212, allocations: 157.6 kB / 23.53 MB, free: 0.9023 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 1.521/1.521, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.1085/0.1085, allocations: 18.14 MB / 278.5 MB, free: 11.32 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.403e-06/1.403e-06, allocations: 0 / 356.5 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.783e-05, allocations: 2.312 kB / 356.6 MB, free: 9.32 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.03749/0.03752, allocations: 23.68 MB / 380.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.03949, allocations: 0.6897 MB / 380.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.03964, allocations: 0 / 380.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.03982, allocations: 35.64 kB / 381 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.0401, allocations: 127 kB / 381.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.04054, allocations: 103.7 kB / 381.2 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005252/0.04107, allocations: 430.9 kB / 381.6 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.04141, allocations: 196.4 kB / 381.8 MB, free: 252 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.04173, allocations: 175.5 kB / 382 MB, free: 76 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.04211, allocations: 191.5 kB / 382.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.04218, allocations: 40 kB / 382.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.04226, allocations: 40 kB / 382.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.04242, allocations: 127.7 kB / 382.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.04263, allocations: 151.7 kB / 382.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006141/0.04324, allocations: 474.6 kB / 383 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.04325, allocations: 0 / 383 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.04325, allocations: 3.938 kB / 383 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.04326, allocations: 0 / 383 MB, free: 15.07 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.001586/0.04484, allocations: 0.6102 MB / 383.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.04489, allocations: 8.922 kB / 383.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.04504, allocations: 60.7 kB / 383.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.0455, allocations: 236.8 kB / 383.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.04553, allocations: 20.88 kB / 383.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.0456, allocations: 28.33 kB / 383.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007898/0.04639, allocations: 344.5 kB / 384.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.04641, allocations: 8.125 kB / 384.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.04644, allocations: 8.125 kB / 384.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.04646, allocations: 8 kB / 384.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.04726, allocations: 329.8 kB / 384.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.04934, allocations: 0.8417 MB / 385.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.04994, allocations: 271.4 kB / 385.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.05045, allocations: 221.2 kB / 385.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.05048, allocations: 4.234 kB / 385.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.05052, allocations: 38.8 kB / 386 MB, free: 11.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.05052, allocations: 0 / 386 MB, free: 11.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.005417/0.05594, allocations: 1.525 MB / 387.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.05599, allocations: 51.41 kB / 387.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.05632, allocations: 245.9 kB / 387.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.05636, allocations: 29.7 kB / 387.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.05651, allocations: 172.7 kB / 388 MB, free: 9.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.05663, allocations: 107.1 kB / 388.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.05677, allocations: 61.7 kB / 388.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.05697, allocations: 342.7 kB / 388.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.05747, allocations: 187.9 kB / 388.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.05798, allocations: 221.6 kB / 388.9 MB, free: 8.926 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.001973/0.05995, allocations: 0.5721 MB / 389.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.05996, allocations: 0 / 389.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001814/0.06177, allocations: 0.6417 MB / 390.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.06179, allocations: 12.03 kB / 390.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.0618, allocations: 0 / 390.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.06283, allocations: 200.1 kB / 390.3 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.06346, allocations: 103.9 kB / 390.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007431/0.0709, allocations: 6.963 MB / 397.4 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.07131, allocations: 31.94 kB / 397.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.47e-05/0.07134, allocations: 8 kB / 397.4 MB, free: 15.81 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.0002721/0.07161, allocations: 162 kB / 397.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.07172, allocations: 39.81 kB / 397.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.07339, allocations: 0.6022 MB / 398.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.0734, allocations: 4 kB / 398.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.0734, allocations: 3.938 kB / 398.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.0734, allocations: 0 / 398.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.07389, allocations: 313 kB / 398.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.0739, allocations: 0 / 398.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.07452, allocations: 99.86 kB / 398.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007016/0.07522, allocations: 164.1 kB / 398.8 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.07525, allocations: 12 kB / 398.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006493/0.08174, allocations: 6.587 MB / 405.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.08174, allocations: 0 / 405.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.084, allocations: 0.9092 MB / 406.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.08407, allocations: 27.88 kB / 406.3 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.08412, allocations: 15.92 kB / 406.3 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.08446, allocations: 27.97 kB / 406.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.0846, allocations: 31.94 kB / 406.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.08463, allocations: 8 kB / 406.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002101/0.08484, allocations: 181.2 kB / 406.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08484, allocations: 0 / 406.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005636/0.0854, allocations: 115.9 kB / 406.7 MB, free: 5.91 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.0001778/0.08558, allocations: 111.2 kB / 406.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.08757, allocations: 1 MB / 407.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.08757, allocations: 0 / 407.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.08893, allocations: 0.7866 MB / 408.6 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.08941, allocations: 76.52 kB / 408.7 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.09284, allocations: 1.164 MB / 409.8 MB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.09307, allocations: 190.5 kB / 410 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.09327, allocations: 46.27 kB / 410.1 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.09338, allocations: 20.5 kB / 410.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.09338, allocations: 7.938 kB / 410.1 MB, free: 2.328 MB / 378.7 MB Notification: Performance of Templates: time 0.01374/0.1071, allocations: 6.713 MB / 416.8 MB, free: 11.71 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=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: 4.894395448034629]