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.00105/0.00105, allocations: 87.56 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001167/0.001167, allocations: 181 kB / 24.27 MB, free: 280 kB / 18.57 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.098/1.098, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.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.06594/0.06594, allocations: 18.14 MB / 279.2 MB, free: 11.37 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.663e-06/1.663e-06, allocations: 0 / 357.3 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.484e-05/3.65e-05, allocations: 2.312 kB / 357.3 MB, free: 8.188 MB / 282.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.02818/0.02822, allocations: 26.35 MB / 383.6 MB, free: 14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.02945, allocations: 438.8 kB / 384 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.02962, allocations: 4 kB / 384 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.02971, allocations: 43.5 kB / 384.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.02994, allocations: 118.9 kB / 384.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.03032, allocations: 107.7 kB / 384.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.03074, allocations: 434 kB / 384.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.03107, allocations: 235.1 kB / 385 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.03123, allocations: 163.5 kB / 385.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.03143, allocations: 167.5 kB / 385.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.03148, allocations: 36 kB / 385.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.0316, allocations: 67.95 kB / 385.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.03166, allocations: 91.66 kB / 385.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.03178, allocations: 131.7 kB / 385.6 MB, free: 12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.0322, allocations: 322.8 kB / 385.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.0322, allocations: 4 kB / 385.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.03221, allocations: 4 kB / 385.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.03222, allocations: 0 / 385.9 MB, free: 11.68 MB / 314.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.0008789/0.0331, allocations: 0.6983 MB / 386.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.03314, allocations: 12.92 kB / 386.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.03324, allocations: 60.7 kB / 386.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.03356, allocations: 244.1 kB / 386.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.03359, allocations: 21.03 kB / 386.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.03362, allocations: 28.31 kB / 387 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.03401, allocations: 312.4 kB / 387.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.03402, allocations: 4.125 kB / 387.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.03404, allocations: 8.375 kB / 387.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.03405, allocations: 8.375 kB / 387.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.03426, allocations: 123.8 kB / 387.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009629/0.03523, allocations: 0.6832 MB / 388.1 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.03552, allocations: 179 kB / 388.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.03569, allocations: 79.64 kB / 388.4 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.03571, allocations: 4 kB / 388.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.03575, allocations: 45.38 kB / 388.4 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001777/0.03592, allocations: 55.88 kB / 388.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/0.03593, allocations: 0 / 388.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001709/0.03763, allocations: 0.5715 MB / 389 MB, free: 8.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.03766, allocations: 55.41 kB / 389.1 MB, free: 8.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.03788, allocations: 310.3 kB / 389.4 MB, free: 7.996 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.0379, allocations: 33.7 kB / 389.4 MB, free: 7.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.03802, allocations: 243.3 kB / 389.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.03806, allocations: 75.33 kB / 389.7 MB, free: 7.641 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.03813, allocations: 59.58 kB / 389.8 MB, free: 7.574 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.03825, allocations: 0.504 MB / 390.3 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.03834, allocations: 48.42 kB / 390.3 MB, free: 7.012 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.03843, allocations: 52.84 kB / 390.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.03862, allocations: 132.1 kB / 390.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.03862, allocations: 3.938 kB / 390.5 MB, free: 6.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007763/0.0394, allocations: 384.5 kB / 390.9 MB, free: 6.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.03942, allocations: 4 kB / 390.9 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.03942, allocations: 0 / 390.9 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.04045, allocations: 238.8 kB / 391.1 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.04077, allocations: 79.94 kB / 391.2 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.04423, allocations: 6.057 MB / 397.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.04439, allocations: 4 kB / 397.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.04441, allocations: 11.98 kB / 397.3 MB, free: 15.71 MB / 330.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 0.000168/0.04458, allocations: 180.5 kB / 397.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.04465, allocations: 31.81 kB / 397.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.0457, allocations: 414.8 kB / 397.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.04571, allocations: 4 kB / 397.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.04572, allocations: 4 kB / 397.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.04572, allocations: 3.984 kB / 397.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.0469, allocations: 0.7431 MB / 398.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.04691, allocations: 0 / 398.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.04722, allocations: 79.88 kB / 398.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005927/0.04782, allocations: 202.8 kB / 398.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.04784, allocations: 4 kB / 398.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.05092, allocations: 5.808 MB / 404.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.05092, allocations: 0 / 404.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.05168, allocations: 0.5118 MB / 405.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.05173, allocations: 31.8 kB / 405.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.05176, allocations: 8 kB / 405.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.05189, allocations: 11.98 kB / 405.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.05198, allocations: 35.81 kB / 405.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.052, allocations: 8 kB / 405.3 MB, free: 7.215 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.05216, allocations: 219 kB / 405.6 MB, free: 7 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05216, allocations: 3.938 kB / 405.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005516/0.05271, allocations: 103.8 kB / 405.7 MB, free: 6.895 MB / 330.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.0001729/0.05288, allocations: 111.1 kB / 405.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.05411, allocations: 0.6747 MB / 406.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.05411, allocations: 0 / 406.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005413/0.05465, allocations: 0.5029 MB / 407 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.05501, allocations: 61.08 kB / 407 MB, free: 5.465 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.05627, allocations: 0.6081 MB / 407.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.748e-05/0.05635, allocations: 101.8 kB / 407.7 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.676e-05/0.05643, allocations: 31.02 kB / 407.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.05649, allocations: 32.48 kB / 407.8 MB, free: 4.648 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.05649, allocations: 4 kB / 407.8 MB, free: 4.645 MB / 330.7 MB Notification: Performance of Templates: time 0.1691/0.2256, allocations: 5.259 MB / 413 MB, free: 63.23 MB / 330.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: 3.5133618868421763]