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.001909/0.001909, allocations: 109.4 kB / 17.15 MB, free: 6.02 MB / 14.72 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.002246/0.002246, allocations: 203.2 kB / 20.11 MB, free: 3.066 MB / 14.72 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 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.1086/0.1086, allocations: 24.03 MB / 333.6 MB, free: 1.559 MB / 254.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 71.23 kB / 468.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1252, allocations: 59.54 MB / 0.5161 GB, free: 11.8 MB / 382.1 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.0365/0.1617, allocations: 23.31 MB / 0.5388 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1635, allocations: 0.717 MB / 0.5395 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.1637, allocations: 15.88 kB / 0.5395 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1639, allocations: 35.64 kB / 0.5396 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.1642, allocations: 111.2 kB / 0.5397 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1646, allocations: 103.8 kB / 0.5398 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.1652, allocations: 411.1 kB / 0.5402 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.1655, allocations: 211.9 kB / 0.5404 GB, free: 3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.1658, allocations: 187.4 kB / 0.5406 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.1661, allocations: 231.2 kB / 0.5408 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.815e-05/0.1662, allocations: 40 kB / 0.5408 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.1663, allocations: 40 kB / 0.5409 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1664, allocations: 123.7 kB / 0.541 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.1666, allocations: 195.1 kB / 0.5412 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.1671, allocations: 454.3 kB / 0.5416 GB, free: 1.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1671, allocations: 0 / 0.5416 GB, free: 1.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1671, allocations: 0 / 0.5416 GB, free: 1.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1671, allocations: 0 / 0.5416 GB, free: 1.754 MB / 398.1 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.001489/0.1686, allocations: 0.6896 MB / 0.5423 GB, free: 1.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.1687, allocations: 12.62 kB / 0.5423 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/0.1688, allocations: 40.7 kB / 0.5423 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.1692, allocations: 306.8 kB / 0.5426 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.1692, allocations: 16.94 kB / 0.5426 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.1693, allocations: 36.27 kB / 0.5427 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.17, allocations: 340.9 kB / 0.543 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.17, allocations: 0 / 0.543 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.1701, allocations: 12 kB / 0.543 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1701, allocations: 8 kB / 0.543 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.1708, allocations: 326 kB / 0.5433 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.1731, allocations: 1.257 MB / 0.5445 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.1737, allocations: 273 kB / 0.5448 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/0.1741, allocations: 217.2 kB / 0.545 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.1742, allocations: 4.234 kB / 0.545 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.1742, allocations: 38.73 kB / 0.5451 GB, free: 13.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.323e-06/0.1742, allocations: 0 / 0.5451 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.005002/0.1792, allocations: 1.965 MB / 0.547 GB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.1793, allocations: 63.34 kB / 0.547 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1796, allocations: 254.6 kB / 0.5473 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.1796, allocations: 29.7 kB / 0.5473 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1797, allocations: 168.8 kB / 0.5475 GB, free: 11.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1798, allocations: 111 kB / 0.5476 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.1799, allocations: 57.64 kB / 0.5476 GB, free: 11.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1801, allocations: 342.8 kB / 0.5479 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.1806, allocations: 191.8 kB / 0.5481 GB, free: 10.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.1811, allocations: 229.9 kB / 0.5484 GB, free: 10.39 MB / 414.1 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.001815/0.1829, allocations: 0.6511 MB / 0.549 GB, free: 9.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1829, allocations: 4 kB / 0.549 GB, free: 9.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001701/0.1846, allocations: 0.6338 MB / 0.5496 GB, free: 9.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1846, allocations: 14.48 kB / 0.5496 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1847, allocations: 0 / 0.5496 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007594/0.1854, allocations: 164.2 kB / 0.5498 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.186, allocations: 107.8 kB / 0.5499 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006683/0.1927, allocations: 7.59 MB / 0.5573 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.193, allocations: 31.98 kB / 0.5573 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1931, allocations: 8 kB / 0.5573 GB, free: 408 kB / 414.1 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.0002234/0.1933, allocations: 163.7 kB / 0.5575 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.1934, allocations: 27.81 kB / 0.5575 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.1949, allocations: 0.6138 MB / 0.5581 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1949, allocations: 0 / 0.5581 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1949, allocations: 4 kB / 0.5581 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1949, allocations: 0 / 0.5581 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.1955, allocations: 449.2 kB / 0.5585 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1955, allocations: 0 / 0.5585 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.1961, allocations: 87.92 kB / 0.5586 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.1966, allocations: 148.1 kB / 0.5588 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.1966, allocations: 8 kB / 0.5588 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006761/0.2034, allocations: 7.203 MB / 0.5658 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2034, allocations: 8.016 kB / 0.5658 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.2055, allocations: 0.8978 MB / 0.5667 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.2056, allocations: 108.9 kB / 0.5668 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.2056, allocations: 11.94 kB / 0.5668 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.2059, allocations: 27.95 kB / 0.5668 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2061, allocations: 35.95 kB / 0.5669 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.2061, allocations: 4 kB / 0.5669 GB, free: 5.781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.2063, allocations: 186 kB / 0.5671 GB, free: 5.602 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2063, allocations: 4 kB / 0.5671 GB, free: 5.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005409/0.2068, allocations: 116 kB / 0.5672 GB, free: 5.484 MB / 430.1 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.0001828/0.207, allocations: 111.2 kB / 0.5673 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.2089, allocations: 1.013 MB / 0.5683 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2089, allocations: 0 / 0.5683 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.2101, allocations: 0.7829 MB / 0.569 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.2106, allocations: 68.45 kB / 0.5691 GB, free: 3.375 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.2143, allocations: 1.284 MB / 0.5704 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.2148, allocations: 0.7918 MB / 0.5711 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.215, allocations: 50.95 kB / 0.5712 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2151, allocations: 23.44 kB / 0.5712 GB, free: 1.172 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2151, allocations: 0 / 0.5712 GB, free: 1.172 MB / 430.1 MB Notification: Performance of Templates: time 0.0136/0.2287, allocations: 6.475 MB / 0.5775 GB, free: 10.73 MB / 446.1 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.605804227292538] Failed to read output from testmodel.py, exit status != 0: 0.23806164786219597 0.49703485000000003 0.32646178600000003 Calling exit ...