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.0007705/0.0007705, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.001901, allocations: 440 kB / 10.41 MB, free: 284 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.0007692/0.0007692, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001772, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.964/0.964, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08966/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.06279/0.06279, allocations: 18.13 MB / 262.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01118/0.07397, allocations: 6.778 MB / 269.1 MB, free: 6.227 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.372e-06/1.372e-06, allocations: 0 / 270.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.281e-05, allocations: 6.25 kB / 270.5 MB, free: 4.75 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.01096/0.01098, allocations: 2.582 MB / 273.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.01206, allocations: 0.7246 MB / 273.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.01217, allocations: 3.938 kB / 273.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.01228, allocations: 39.58 kB / 273.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.01245, allocations: 115.1 kB / 274 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.01274, allocations: 111.7 kB / 274.1 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.01309, allocations: 427 kB / 274.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.01332, allocations: 207 kB / 274.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.01363, allocations: 285.5 kB / 275 MB, free: 256 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.01385, allocations: 191.5 kB / 275.2 MB, free: 64 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.0139, allocations: 40 kB / 275.2 MB, free: 24 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1444/0.1583, allocations: 37.48 kB / 275.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.1585, allocations: 101.9 kB / 275.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1587, allocations: 113 kB / 275.5 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.1591, allocations: 286.7 kB / 275.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.1591, allocations: 1.156 kB / 275.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1591, allocations: 0 / 275.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1591, allocations: 0 / 275.7 MB, free: 2.449 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.0008707/0.16, allocations: 0.6382 MB / 276.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.16, allocations: 10 kB / 276.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.1601, allocations: 43.09 kB / 276.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1603, allocations: 203.3 kB / 276.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.1603, allocations: 20.72 kB / 276.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.1604, allocations: 29.66 kB / 276.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.1607, allocations: 209.8 kB / 276.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1607, allocations: 4.594 kB / 276.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.1607, allocations: 9.438 kB / 276.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1607, allocations: 10 kB / 276.9 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.1609, allocations: 77.53 kB / 277 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.1618, allocations: 0.5721 MB / 277.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.162, allocations: 114.7 kB / 277.7 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1621, allocations: 70.84 kB / 277.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1621, allocations: 8.891 kB / 277.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1621, allocations: 34.81 kB / 277.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.694e-06/0.1621, allocations: 0 / 277.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001763/0.1639, allocations: 0.7982 MB / 278.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.1639, allocations: 58.56 kB / 278.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1641, allocations: 218.3 kB / 278.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1641, allocations: 35.03 kB / 278.9 MB, free: 1.164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1641, allocations: 146.3 kB / 279 MB, free: 1.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.1642, allocations: 112.6 kB / 279.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.1643, allocations: 58.53 kB / 279.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.1643, allocations: 338.3 kB / 279.5 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.1644, allocations: 40.86 kB / 279.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1645, allocations: 81.75 kB / 279.6 MB, free: 0.6289 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.0004078/0.1649, allocations: 208.8 kB / 279.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1649, allocations: 6.281 kB / 279.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004608/0.1654, allocations: 292.1 kB / 280.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1654, allocations: 9.406 kB / 280.2 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1654, allocations: 0.7031 kB / 280.2 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/0.1658, allocations: 163.1 kB / 280.3 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.1662, allocations: 148.4 kB / 280.5 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/0.1693, allocations: 6.204 MB / 286.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1695, allocations: 15.83 kB / 286.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1695, allocations: 9.062 kB / 286.7 MB, free: 10.46 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.000118/0.1696, allocations: 130.7 kB / 286.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.1696, allocations: 25.59 kB / 286.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.1701, allocations: 314.5 kB / 287.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1701, allocations: 10.7 kB / 287.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1701, allocations: 3.75 kB / 287.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1701, allocations: 1.312 kB / 287.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.1703, allocations: 185.8 kB / 287.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1703, allocations: 3.984 kB / 287.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.1707, allocations: 143.1 kB / 287.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.1708, allocations: 24.08 kB / 287.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.1711, allocations: 151.4 kB / 287.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.1711, allocations: 7.547 kB / 287.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.1736, allocations: 5.967 MB / 293.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1736, allocations: 1.312 kB / 293.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.1741, allocations: 461 kB / 294.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.1742, allocations: 10.95 kB / 294.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1743, allocations: 13.72 kB / 294.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.1744, allocations: 36.97 kB / 294.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1744, allocations: 7.703 kB / 294.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.417e-05/0.1745, allocations: 78.81 kB / 294.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1745, allocations: 0 / 294.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.1748, allocations: 116.3 kB / 294.3 MB, free: 3.996 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.0001248/0.1749, allocations: 89.2 kB / 294.4 MB, free: 3.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005799/0.1755, allocations: 0.7399 MB / 295.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.1755, allocations: 5.938 kB / 295.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.1759, allocations: 0.6753 MB / 295.8 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.1764, allocations: 0.6561 MB / 296.5 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.1813, allocations: 0.8845 MB / 297.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.1814, allocations: 111.1 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.1815, allocations: 27.73 kB / 297.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.1817, allocations: 120 kB / 297.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1817, allocations: 0 / 297.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Templates: time 0.01071/0.1924, allocations: 7.782 MB / 305.4 MB, free: 13.82 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.971624903380871]