Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Pumps_valve.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.0009656/0.0009656, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002303, 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.001021/0.001021, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.00238, 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 1.012/1.012, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08798/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.06959/0.06959, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01048/0.08007, allocations: 6.782 MB / 269.1 MB, free: 6.234 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.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") translateModel(AES.Coursework.ThermSys_component_models.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.164e-05, allocations: 2.312 kB / 270.5 MB, free: 4.766 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_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/flowTwoPorts_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.Pumps_valve): time 0.0114/0.01143, allocations: 2.807 MB / 273.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.01246, allocations: 478.4 kB / 273.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.01258, allocations: 0 / 273.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.659e-05/0.01265, allocations: 51.5 kB / 273.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.01284, allocations: 115 kB / 274 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.01312, allocations: 107.7 kB / 274.1 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.01354, allocations: 426 kB / 274.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.01392, allocations: 233.8 kB / 274.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.01426, allocations: 286.5 kB / 275 MB, free: 276 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.01449, allocations: 171.5 kB / 275.1 MB, free: 104 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.01454, allocations: 36 kB / 275.2 MB, free: 68 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.01469, allocations: 63.97 kB / 275.2 MB, free: 4 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.135/0.1497, allocations: 60.47 kB / 275.3 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.1498, allocations: 109.2 kB / 275.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.1503, allocations: 274.9 kB / 275.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.1503, allocations: 1.375 kB / 275.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1503, allocations: 0 / 275.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1503, allocations: 0 / 275.7 MB, free: 2.512 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007573/0.151, allocations: 0.6439 MB / 276.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1511, allocations: 10.41 kB / 276.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1512, allocations: 44.86 kB / 276.4 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1514, allocations: 208.6 kB / 276.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.1514, allocations: 18.56 kB / 276.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.1515, allocations: 27.94 kB / 276.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.1518, allocations: 289.8 kB / 276.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1518, allocations: 1.281 kB / 276.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.1518, allocations: 9.094 kB / 276.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1518, allocations: 7.797 kB / 276.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.1519, allocations: 83.53 kB / 277 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.1527, allocations: 490.5 kB / 277.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1529, allocations: 136.3 kB / 277.6 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.153, allocations: 69.97 kB / 277.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.153, allocations: 5.359 kB / 277.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.153, allocations: 34.55 kB / 277.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001621/0.1532, allocations: 56.83 kB / 277.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.212e-06/0.1532, allocations: 1.719 kB / 277.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.001368/0.1545, allocations: 0.5605 MB / 278.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.1546, allocations: 56.84 kB / 278.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1547, allocations: 247.8 kB / 278.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1547, allocations: 32.19 kB / 278.7 MB, free: 1.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.1548, allocations: 161.2 kB / 278.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.1548, allocations: 83.31 kB / 278.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.1549, allocations: 46.69 kB / 279 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.1549, allocations: 341.3 kB / 279.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.155, allocations: 29.09 kB / 279.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.155, allocations: 31.77 kB / 279.4 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1552, allocations: 99.86 kB / 279.5 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1552, allocations: 0.5938 kB / 279.5 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000672/0.1559, allocations: 296.8 kB / 279.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1559, allocations: 9.625 kB / 279.8 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1559, allocations: 0.7031 kB / 279.8 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.1566, allocations: 223.4 kB / 280 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.157, allocations: 95.09 kB / 280.1 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.1592, allocations: 4.058 MB / 284.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.1593, allocations: 13.59 kB / 284.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1593, allocations: 10.5 kB / 284.1 MB, free: 12.87 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 9.097e-05/0.1594, allocations: 128.5 kB / 284.3 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.1594, allocations: 23.38 kB / 284.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005298/0.16, allocations: 324.2 kB / 284.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.16, allocations: 4.562 kB / 284.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.16, allocations: 3.969 kB / 284.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.16, allocations: 1.781 kB / 284.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.1611, allocations: 0.5295 MB / 285.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1611, allocations: 4.516 kB / 285.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.1614, allocations: 97.31 kB / 285.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.1614, allocations: 25.69 kB / 285.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.1618, allocations: 183 kB / 285.5 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1619, allocations: 5.375 kB / 285.5 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.1636, allocations: 3.869 MB / 289.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.1637, allocations: 5.125 kB / 289.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.1642, allocations: 380.1 kB / 289.7 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1642, allocations: 5.938 kB / 289.7 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.1643, allocations: 18.73 kB / 289.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.1644, allocations: 30.86 kB / 289.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1644, allocations: 4 kB / 289.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.482e-05/0.1645, allocations: 88.44 kB / 289.8 MB, free: 8.586 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1645, allocations: 4 kB / 289.9 MB, free: 8.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006066/0.1651, allocations: 107.1 kB / 290 MB, free: 8.566 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.1652, allocations: 91.94 kB / 290 MB, free: 8.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008893/0.1661, allocations: 0.5226 MB / 290.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/0.1661, allocations: 4.969 kB / 290.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.1665, allocations: 417.4 kB / 291 MB, free: 7.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.167, allocations: 0.6339 MB / 291.6 MB, free: 7.328 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.1703, allocations: 0.6094 MB / 292.2 MB, free: 7.008 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.876e-05/0.1704, allocations: 104.5 kB / 292.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.766e-05/0.1705, allocations: 30.59 kB / 292.4 MB, free: 6.922 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.1706, allocations: 112.5 kB / 292.5 MB, free: 6.875 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1706, allocations: 0 / 292.5 MB, free: 6.875 MB / 282.7 MB Notification: Performance of Templates: time 0.007969/0.1786, allocations: 6.007 MB / 298.5 MB, free: 4.688 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Pumps_valve.sim & ./AES_AES.Coursework.ThermSys_component_models.Pumps_valve -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.907357887364924]