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.001407/0.001407, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001608/0.001608, allocations: 157.7 kB / 23.53 MB, free: 0.9023 MB / 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 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.111/0.111, allocations: 18.14 MB / 278.5 MB, free: 11.31 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.935e-06/2.935e-06, allocations: 0 / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.898e-05/4.192e-05, allocations: 6.312 kB / 356.5 MB, free: 8.195 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.06146/0.0615, allocations: 23.89 MB / 380.4 MB, free: 484 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.06374, allocations: 446.6 kB / 380.8 MB, free: 36 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.06408, allocations: 0 / 380.8 MB, free: 36 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.06437, allocations: 47.58 kB / 380.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007065/0.06508, allocations: 114.9 kB / 381 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007054/0.06578, allocations: 115.7 kB / 381.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.0668, allocations: 430 kB / 381.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000703/0.06751, allocations: 231.2 kB / 381.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.06792, allocations: 159.6 kB / 381.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.06848, allocations: 167.5 kB / 382.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.06861, allocations: 36 kB / 382.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.0689, allocations: 71.95 kB / 382.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.06906, allocations: 87.66 kB / 382.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.0694, allocations: 135.7 kB / 382.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.07048, allocations: 478.4 kB / 382.9 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.07049, allocations: 4 kB / 382.9 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.0705, allocations: 0 / 382.9 MB, free: 14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.07051, allocations: 0 / 382.9 MB, free: 14 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.002292/0.0728, allocations: 0.6062 MB / 383.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.07285, allocations: 8.922 kB / 383.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.07307, allocations: 60.7 kB / 383.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007572/0.07383, allocations: 241.3 kB / 383.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.07388, allocations: 17.03 kB / 383.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.07397, allocations: 36.38 kB / 383.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.07555, allocations: 371.6 kB / 384.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.07557, allocations: 192 / 384.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.07563, allocations: 8.375 kB / 384.2 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.07566, allocations: 8.375 kB / 384.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.07706, allocations: 266.4 kB / 384.5 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.07981, allocations: 0.6682 MB / 385.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.08088, allocations: 220.8 kB / 385.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.08164, allocations: 132.8 kB / 385.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/0.0817, allocations: 7.984 kB / 385.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.305e-05/0.08176, allocations: 42.5 kB / 385.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006449/0.08241, allocations: 51.88 kB / 385.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.996e-06/0.08241, allocations: 4 kB / 385.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.007241/0.08965, allocations: 0.7568 MB / 386.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.08973, allocations: 55.39 kB / 386.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006469/0.09038, allocations: 268.2 kB / 386.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.112e-05/0.09045, allocations: 33.7 kB / 386.7 MB, free: 9.988 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.09072, allocations: 188.6 kB / 386.9 MB, free: 9.801 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.09086, allocations: 79.33 kB / 387 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.09107, allocations: 53.92 kB / 387 MB, free: 9.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003112/0.09138, allocations: 330.8 kB / 387.3 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.09196, allocations: 108.4 kB / 387.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.09253, allocations: 104.9 kB / 387.5 MB, free: 9.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.09371, allocations: 228.7 kB / 387.8 MB, free: 8.902 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.09371, allocations: 0 / 387.8 MB, free: 8.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.003883/0.09759, allocations: 0.5121 MB / 388.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.09762, allocations: 4 kB / 388.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.09763, allocations: 0 / 388.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00302/0.1007, allocations: 262.2 kB / 388.5 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.1018, allocations: 87.91 kB / 388.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.1082, allocations: 4.513 MB / 393.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.1085, allocations: 20 kB / 393.2 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1086, allocations: 8 kB / 393.2 MB, free: 3.207 MB / 314.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.0002283/0.1088, allocations: 149.8 kB / 393.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1089, allocations: 31.86 kB / 393.3 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.1105, allocations: 0.5101 MB / 393.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.1105, allocations: 7.984 kB / 393.9 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1105, allocations: 4 kB / 393.9 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.1105, allocations: 3.984 kB / 393.9 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.1126, allocations: 0.8135 MB / 394.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.1126, allocations: 4.062 kB / 394.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.1131, allocations: 87.92 kB / 394.8 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.1142, allocations: 206.3 kB / 395 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.1142, allocations: 4 kB / 395 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/0.1188, allocations: 4.171 MB / 399.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1188, allocations: 0 / 399.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.1203, allocations: 0.5654 MB / 399.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/0.1204, allocations: 27.94 kB / 399.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.1205, allocations: 8 kB / 399.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1207, allocations: 23.97 kB / 399.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1208, allocations: 31.94 kB / 399.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.1208, allocations: 8 kB / 399.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.1211, allocations: 199.1 kB / 400 MB, free: 12 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1211, allocations: 0 / 400 MB, free: 12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005996/0.1217, allocations: 103.8 kB / 400.1 MB, free: 11.9 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.000189/0.1219, allocations: 107.2 kB / 400.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.1241, allocations: 0.6522 MB / 400.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1241, allocations: 0 / 400.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.1251, allocations: 444.9 kB / 401.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1255, allocations: 55.62 kB / 401.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1267, allocations: 0.6187 MB / 402 MB, free: 9.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1269, allocations: 178.3 kB / 402.1 MB, free: 9.762 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.127, allocations: 30.97 kB / 402.2 MB, free: 9.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.1271, allocations: 28.5 kB / 402.2 MB, free: 9.703 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1271, allocations: 4 kB / 402.2 MB, free: 9.699 MB / 330.7 MB Notification: Performance of Templates: time 0.0115/0.1386, allocations: 5.219 MB / 407.4 MB, free: 4.559 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.064315475989133]