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.0006976/0.0006976, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009664/0.001664, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007121/0.0007121, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009371/0.001649, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9025/0.9025, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07847/0.9809, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.07153/0.07153, allocations: 18.13 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0268/0.09833, allocations: 6.777 MB / 268.9 MB, free: 6.352 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.313e-06/1.313e-06, allocations: 0 / 270.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.275e-05, allocations: 6.25 kB / 270.3 MB, free: 4.895 MB / 266.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.008733/0.008756, allocations: 2.578 MB / 272.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009001/0.009656, allocations: 0.7207 MB / 273.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.009727, allocations: 7.938 kB / 273.6 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.033e-05/0.009807, allocations: 35.64 kB / 273.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.009941, allocations: 111.2 kB / 273.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.01014, allocations: 111.6 kB / 273.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.01042, allocations: 430.9 kB / 274.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.01061, allocations: 211 kB / 274.5 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.01085, allocations: 281.5 kB / 274.8 MB, free: 412 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.01103, allocations: 187.6 kB / 275 MB, free: 224 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.01107, allocations: 40 kB / 275 MB, free: 184 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.016e-05/0.01111, allocations: 40 kB / 275 MB, free: 144 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.01117, allocations: 103.7 kB / 275.1 MB, free: 40 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1037/0.1149, allocations: 112.2 kB / 275.3 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1152, allocations: 284.9 kB / 275.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.4e-05/0.1152, allocations: 0 / 275.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1152, allocations: 0 / 275.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1152, allocations: 3.594 kB / 275.5 MB, free: 2.469 MB / 266.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.0008714/0.1161, allocations: 0.6359 MB / 276.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.1161, allocations: 9.812 kB / 276.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.1162, allocations: 44.77 kB / 276.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1164, allocations: 202.9 kB / 276.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1165, allocations: 18.38 kB / 276.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.1165, allocations: 32.75 kB / 276.5 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.1168, allocations: 211.1 kB / 276.7 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1168, allocations: 2.188 kB / 276.7 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1169, allocations: 10.44 kB / 276.7 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1169, allocations: 9.031 kB / 276.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.117, allocations: 81.06 kB / 276.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000986/0.118, allocations: 0.5724 MB / 277.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1182, allocations: 105.9 kB / 277.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1183, allocations: 77.67 kB / 277.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1183, allocations: 5.828 kB / 277.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.1184, allocations: 32.66 kB / 277.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.1184, allocations: 5.312 kB / 277.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.00171/0.1201, allocations: 0.7796 MB / 278.4 MB, free: 1.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.1201, allocations: 58.97 kB / 278.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1202, allocations: 224 kB / 278.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1202, allocations: 30.17 kB / 278.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.1203, allocations: 146.7 kB / 278.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.1204, allocations: 113.5 kB / 278.9 MB, free: 1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.714e-05/0.1204, allocations: 57.16 kB / 279 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.1205, allocations: 339.5 kB / 279.3 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.1206, allocations: 42.41 kB / 279.3 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.937e-05/0.1207, allocations: 75.23 kB / 279.4 MB, free: 0.6523 MB / 266.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.0004215/0.1211, allocations: 208 kB / 279.6 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1211, allocations: 3.938 kB / 279.6 MB, free: 0.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005/0.1216, allocations: 299.5 kB / 279.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1216, allocations: 5.969 kB / 279.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1216, allocations: 5.281 kB / 279.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004424/0.122, allocations: 155.9 kB / 280.1 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.1226, allocations: 155.6 kB / 280.2 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.1256, allocations: 6.207 MB / 286.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.1257, allocations: 14.92 kB / 286.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.1258, allocations: 9.078 kB / 286.5 MB, free: 10.49 MB / 282.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.0001098/0.1259, allocations: 131 kB / 286.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.1259, allocations: 25.72 kB / 286.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.1264, allocations: 309.6 kB / 286.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1264, allocations: 8.188 kB / 286.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1264, allocations: 2.062 kB / 286.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1264, allocations: 4.484 kB / 286.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.1267, allocations: 187.1 kB / 287.1 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1267, allocations: 0.5625 kB / 287.1 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.1272, allocations: 145.6 kB / 287.3 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.1272, allocations: 19.75 kB / 287.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003214/0.1275, allocations: 150.7 kB / 287.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1276, allocations: 7.938 kB / 287.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.1304, allocations: 5.967 MB / 293.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1304, allocations: 6.578 kB / 293.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.131, allocations: 455.5 kB / 293.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.1311, allocations: 7.312 kB / 293.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1312, allocations: 15.03 kB / 293.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/0.1313, allocations: 41.33 kB / 293.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1313, allocations: 9.062 kB / 293.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.716e-05/0.1314, allocations: 72.81 kB / 294 MB, free: 4.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1314, allocations: 0 / 294 MB, free: 4.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00038/0.1318, allocations: 115.8 kB / 294.1 MB, free: 4.031 MB / 282.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.0001015/0.1319, allocations: 89.92 kB / 294.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006189/0.1325, allocations: 0.7444 MB / 294.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.1325, allocations: 3.344 kB / 294.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000418/0.1329, allocations: 0.6567 MB / 295.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1332, allocations: 107.5 kB / 295.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006276/0.1395, allocations: 0.8854 MB / 296.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.1396, allocations: 110.2 kB / 296.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.1397, allocations: 29.09 kB / 296.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.14, allocations: 120.4 kB / 296.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.14, allocations: 0 / 296.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of Templates: time 0.008549/0.1485, allocations: 7.635 MB / 304.5 MB, free: 14.75 MB / 298.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: 2.8584311371669173]