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.001105/0.001105, allocations: 73.11 kB / 20.67 MB, free: 3.828 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.0013/0.0013, allocations: 177 kB / 24.08 MB, free: 432 kB / 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.9758/0.9758, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.08183/0.08183, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.673e-06/1.673e-06, allocations: 0 / 357.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.757e-05, allocations: 2.312 kB / 357.8 MB, free: 8.551 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.03204/0.03206, allocations: 26.21 MB / 384 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.03365, allocations: 0.7014 MB / 384.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.03377, allocations: 7.938 kB / 384.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.03392, allocations: 31.66 kB / 384.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.03411, allocations: 123 kB / 384.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.03444, allocations: 107.7 kB / 385 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.03475, allocations: 430.9 kB / 385.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.03497, allocations: 196.4 kB / 385.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.03519, allocations: 175.5 kB / 385.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.0354, allocations: 195.5 kB / 385.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.03545, allocations: 40 kB / 386 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.48e-05/0.03549, allocations: 36 kB / 386 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.03558, allocations: 139.6 kB / 386.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.03568, allocations: 143.7 kB / 386.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.03594, allocations: 322.9 kB / 386.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.03595, allocations: 0 / 386.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.03595, allocations: 0 / 386.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.03595, allocations: 0 / 386.6 MB, free: 11.89 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.0007565/0.03671, allocations: 0.6985 MB / 387.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.03674, allocations: 8.922 kB / 387.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/0.03682, allocations: 56.7 kB / 387.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.03704, allocations: 235.5 kB / 387.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.03706, allocations: 20.88 kB / 387.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.03709, allocations: 28.33 kB / 387.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.03737, allocations: 201.2 kB / 387.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.03737, allocations: 192 / 387.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.03739, allocations: 16.12 kB / 387.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.0374, allocations: 7.938 kB / 387.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.03754, allocations: 99.41 kB / 388 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009241/0.03846, allocations: 0.7281 MB / 388.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.03862, allocations: 116 kB / 388.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.03873, allocations: 84.11 kB / 388.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.03875, allocations: 4.234 kB / 388.9 MB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.03877, allocations: 41.56 kB / 388.9 MB, free: 9.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.262e-06/0.03877, allocations: 0 / 388.9 MB, free: 9.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.00165/0.04042, allocations: 0.802 MB / 389.7 MB, free: 8.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.04046, allocations: 55.41 kB / 389.8 MB, free: 8.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.04067, allocations: 280.2 kB / 390.1 MB, free: 8.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.0407, allocations: 29.7 kB / 390.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.04082, allocations: 219.4 kB / 390.3 MB, free: 7.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.04091, allocations: 115 kB / 390.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.04102, allocations: 59.34 kB / 390.5 MB, free: 7.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.04118, allocations: 0.5195 MB / 391 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.0413, allocations: 43.97 kB / 391 MB, free: 7.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.04143, allocations: 91.67 kB / 391.1 MB, free: 7.113 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.0005108/0.04194, allocations: 223.5 kB / 391.3 MB, free: 6.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.04195, allocations: 0 / 391.3 MB, free: 6.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009426/0.04289, allocations: 351.5 kB / 391.7 MB, free: 6.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.04291, allocations: 6.656 kB / 391.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.04292, allocations: 3.984 kB / 391.7 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005246/0.04344, allocations: 166.3 kB / 391.9 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.04378, allocations: 83.89 kB / 391.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/0.04882, allocations: 8.86 MB / 400.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.04905, allocations: 20.23 kB / 400.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.04907, allocations: 8 kB / 400.8 MB, free: 12.75 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.0001938/0.04927, allocations: 172.5 kB / 401 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.04934, allocations: 43.75 kB / 401 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.04995, allocations: 350.9 kB / 401.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.04996, allocations: 4 kB / 401.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.04996, allocations: 3.984 kB / 401.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.04997, allocations: 4 kB / 401.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.05032, allocations: 217.1 kB / 401.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.05032, allocations: 0 / 401.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.05065, allocations: 83.94 kB / 401.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.05104, allocations: 138.3 kB / 401.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.05107, allocations: 11.98 kB / 401.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/0.05557, allocations: 8.597 MB / 410.4 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.05557, allocations: 0 / 410.4 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.05618, allocations: 0.5291 MB / 411 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.05621, allocations: 27.84 kB / 411 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.05624, allocations: 12.06 kB / 411 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.05635, allocations: 15.98 kB / 411 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.05644, allocations: 31.94 kB / 411 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.05645, allocations: 7.938 kB / 411.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.037e-05/0.05654, allocations: 193.1 kB / 411.2 MB, free: 1.633 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05654, allocations: 0 / 411.2 MB, free: 1.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.05691, allocations: 124 kB / 411.4 MB, free: 1.512 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.0001305/0.05704, allocations: 107.2 kB / 411.5 MB, free: 1.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007006/0.05774, allocations: 1.039 MB / 412.5 MB, free: 276 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.05774, allocations: 0 / 412.5 MB, free: 276 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.0585, allocations: 0.9427 MB / 413.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.0588, allocations: 80.31 kB / 413.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.06062, allocations: 1.008 MB / 414.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.812e-05/0.06069, allocations: 112.6 kB / 414.6 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.0608, allocations: 22.3 kB / 414.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.06097, allocations: 142.1 kB / 414.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of SimCode: time 7.61e-07/0.06097, allocations: 4 kB / 414.8 MB, free: 13.81 MB / 394.7 MB Notification: Performance of Templates: time 0.009323/0.07029, allocations: 7.218 MB / 422 MB, free: 6.688 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.1245224392041564]