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.001149/0.001149, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00189/0.003039, 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.001213/0.001213, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001662/0.002875, 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.9364/0.9364, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07769/1.014, 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.06394/0.06394, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01189/0.07583, allocations: 6.781 MB / 268.9 MB, free: 6.355 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 1.513e-06/1.513e-06, allocations: 0 / 270.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.344e-05, allocations: 2.312 kB / 270.3 MB, free: 4.91 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.01517/0.0152, allocations: 2.803 MB / 273.1 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.01654, allocations: 470.5 kB / 273.6 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.01674, allocations: 4 kB / 273.6 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.01684, allocations: 47.5 kB / 273.6 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.0171, allocations: 118.9 kB / 273.7 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.01743, allocations: 107.7 kB / 273.8 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.01786, allocations: 430 kB / 274.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.01823, allocations: 229.9 kB / 274.5 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.01862, allocations: 290.5 kB / 274.8 MB, free: 428 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.01885, allocations: 163.5 kB / 274.9 MB, free: 264 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.01891, allocations: 39.94 kB / 275 MB, free: 224 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.01906, allocations: 63.97 kB / 275 MB, free: 160 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.01912, allocations: 63.75 kB / 275.1 MB, free: 96 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1219/0.141, allocations: 106.8 kB / 275.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.1415, allocations: 269.6 kB / 275.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.1415, allocations: 3.562 kB / 275.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1415, allocations: 1.469 kB / 275.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.1416, allocations: 0.5312 kB / 275.5 MB, free: 2.598 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.0007851/0.1424, allocations: 0.6477 MB / 276.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.1424, allocations: 13.09 kB / 276.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.1425, allocations: 47.53 kB / 276.2 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.1427, allocations: 196.2 kB / 276.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1427, allocations: 19.16 kB / 276.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.1427, allocations: 29.06 kB / 276.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.143, allocations: 289.3 kB / 276.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.143, allocations: 1.656 kB / 276.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1431, allocations: 9.219 kB / 276.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-06/0.1431, allocations: 6.375 kB / 276.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.1432, allocations: 83.64 kB / 276.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007613/0.144, allocations: 492.1 kB / 277.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1442, allocations: 133.9 kB / 277.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.1443, allocations: 66.45 kB / 277.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1443, allocations: 7.719 kB / 277.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.1443, allocations: 34.66 kB / 277.5 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001494/0.1444, allocations: 58.2 kB / 277.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.1444, allocations: 0 / 277.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.00131/0.1458, allocations: 0.5629 MB / 278.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.481e-05/0.1458, allocations: 54.44 kB / 278.2 MB, free: 1.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1459, allocations: 246.5 kB / 278.4 MB, free: 1.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1459, allocations: 31.22 kB / 278.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.146, allocations: 163.3 kB / 278.6 MB, free: 1.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.146, allocations: 80.06 kB / 278.7 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.1461, allocations: 50.67 kB / 278.7 MB, free: 1.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.1461, allocations: 341.6 kB / 279.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.1462, allocations: 30.44 kB / 279.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.664e-05/0.1462, allocations: 30.72 kB / 279.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1464, allocations: 104.7 kB / 279.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1464, allocations: 0 / 279.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005769/0.1469, allocations: 295.6 kB / 279.5 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1469, allocations: 8.531 kB / 279.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.147, allocations: 1.688 kB / 279.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006525/0.1476, allocations: 221.8 kB / 279.7 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.1479, allocations: 96.62 kB / 279.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.15, allocations: 4.065 MB / 283.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.118e-05/0.1501, allocations: 11.92 kB / 283.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1501, allocations: 6.344 kB / 283.9 MB, free: 12.96 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 8.459e-05/0.1502, allocations: 122 kB / 284 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.1502, allocations: 28.84 kB / 284.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.1507, allocations: 320.3 kB / 284.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1507, allocations: 4.234 kB / 284.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1507, allocations: 3.094 kB / 284.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1507, allocations: 3.438 kB / 284.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008199/0.1516, allocations: 0.53 MB / 284.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1516, allocations: 0 / 284.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.1518, allocations: 104.2 kB / 285 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.1518, allocations: 25.3 kB / 285.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.1523, allocations: 177.9 kB / 285.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1523, allocations: 5.531 kB / 285.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.1538, allocations: 3.872 MB / 289.1 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1538, allocations: 5 kB / 289.1 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.1543, allocations: 373 kB / 289.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1543, allocations: 12.28 kB / 289.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.1544, allocations: 18.59 kB / 289.5 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.1544, allocations: 29.66 kB / 289.5 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1544, allocations: 5.5 kB / 289.5 MB, free: 8.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.901e-05/0.1545, allocations: 90.91 kB / 289.6 MB, free: 8.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1545, allocations: 1.219 kB / 289.6 MB, free: 8.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003305/0.1548, allocations: 105.2 kB / 289.7 MB, free: 8.648 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.0001086/0.1549, allocations: 95.08 kB / 289.8 MB, free: 8.578 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007692/0.1557, allocations: 0.5172 MB / 290.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.1557, allocations: 5.078 kB / 290.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.1561, allocations: 397.2 kB / 290.7 MB, free: 8.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.1563, allocations: 87.55 kB / 290.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.1595, allocations: 0.6195 MB / 291.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.1596, allocations: 102.7 kB / 291.5 MB, free: 7.672 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.826e-05/0.1597, allocations: 31.64 kB / 291.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.1598, allocations: 109.1 kB / 291.7 MB, free: 7.621 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1598, allocations: 0 / 291.7 MB, free: 7.621 MB / 282.7 MB Notification: Performance of Templates: time 0.007629/0.1674, allocations: 5.824 MB / 297.5 MB, free: 5.516 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.7156704012304544]