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.0009199/0.0009199, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.00105/0.00105, allocations: 166 kB / 24.09 MB, free: 424 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 0.8459/0.8459, allocations: 177.1 MB / 204.4 MB, free: 5.711 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.05902/0.05902, allocations: 18.13 MB / 279 MB, free: 11.5 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.212e-06/1.212e-06, allocations: 0 / 416.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.653e-05, allocations: 6.281 kB / 416.6 MB, free: 12.5 MB / 330.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.02109/0.02112, allocations: 23.71 MB / 440.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.0223, allocations: 449.7 kB / 440.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.02244, allocations: 4 kB / 440.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.668e-05/0.02253, allocations: 45.58 kB / 440.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.02274, allocations: 120.1 kB / 440.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.02314, allocations: 107.3 kB / 441 MB, free: 14.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.0235, allocations: 431.2 kB / 441.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.02381, allocations: 222.1 kB / 441.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.02397, allocations: 158.9 kB / 441.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.02416, allocations: 164.9 kB / 441.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.02421, allocations: 47.98 kB / 442 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.02432, allocations: 72.66 kB / 442.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.02439, allocations: 84.17 kB / 442.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.02451, allocations: 140.7 kB / 442.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.02501, allocations: 471 kB / 442.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.02501, allocations: 0.75 kB / 442.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.02501, allocations: 0 / 442.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.02502, allocations: 0 / 442.7 MB, free: 12.84 MB / 346.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.0008102/0.02583, allocations: 0.6014 MB / 443.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.02587, allocations: 8.922 kB / 443.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.02594, allocations: 40.7 kB / 443.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.02624, allocations: 256.1 kB / 443.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.02627, allocations: 21.03 kB / 443.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.02629, allocations: 24.38 kB / 443.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.02673, allocations: 371.2 kB / 444 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.02674, allocations: 192 / 444 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.02676, allocations: 8.375 kB / 444 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.02677, allocations: 8.938 kB / 444.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.02717, allocations: 265.2 kB / 444.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000941/0.02811, allocations: 0.6647 MB / 445 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.02846, allocations: 221.8 kB / 445.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.02869, allocations: 142.2 kB / 445.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.02872, allocations: 5.562 kB / 445.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.02874, allocations: 35.31 kB / 445.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001651/0.0289, allocations: 54.97 kB / 445.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/0.0289, allocations: 4 kB / 445.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001955/0.03086, allocations: 0.7599 MB / 446.2 MB, free: 9.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.0309, allocations: 56.2 kB / 446.2 MB, free: 9.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.03112, allocations: 269.3 kB / 446.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.03114, allocations: 29.7 kB / 446.5 MB, free: 9.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.03125, allocations: 189.8 kB / 446.7 MB, free: 9.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.03129, allocations: 80.78 kB / 446.8 MB, free: 9.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.03137, allocations: 51.05 kB / 446.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.03147, allocations: 343.3 kB / 447.2 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.03164, allocations: 103.1 kB / 447.3 MB, free: 8.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.03181, allocations: 104.3 kB / 447.4 MB, free: 8.602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.03214, allocations: 227 kB / 447.6 MB, free: 8.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.03214, allocations: 4.453 kB / 447.6 MB, free: 8.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009846/0.03313, allocations: 0.4957 MB / 448.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.03315, allocations: 4.562 kB / 448.1 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.03315, allocations: 0 / 448.1 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006673/0.03382, allocations: 217 kB / 448.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.03413, allocations: 86.5 kB / 448.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.03692, allocations: 4.496 MB / 452.9 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.03704, allocations: 17.05 kB / 452.9 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.03706, allocations: 11.02 kB / 452.9 MB, free: 3.141 MB / 346.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.0001339/0.03719, allocations: 146.3 kB / 453.1 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.03722, allocations: 28.61 kB / 453.1 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007806/0.03801, allocations: 0.5046 MB / 453.6 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.03801, allocations: 7.984 kB / 453.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.03801, allocations: 4 kB / 453.6 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.03802, allocations: 5.969 kB / 453.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.03904, allocations: 0.8141 MB / 454.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.03904, allocations: 4 kB / 454.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.03929, allocations: 90.83 kB / 454.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.03963, allocations: 157.3 kB / 454.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.03965, allocations: 5.312 kB / 454.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.04156, allocations: 4.162 MB / 458.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.04156, allocations: 0 / 458.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.04226, allocations: 0.5539 MB / 459.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.04229, allocations: 43.69 kB / 459.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.04232, allocations: 4 kB / 459.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.04242, allocations: 19.98 kB / 459.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.04249, allocations: 27.94 kB / 459.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.04251, allocations: 12 kB / 459.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.04263, allocations: 195.1 kB / 459.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04263, allocations: 0 / 459.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.04301, allocations: 99.89 kB / 459.8 MB, free: 12.27 MB / 362.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.0001482/0.04316, allocations: 107.3 kB / 459.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.04421, allocations: 0.6414 MB / 460.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.04421, allocations: 0 / 460.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.04465, allocations: 445 kB / 461 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.04493, allocations: 57.02 kB / 461 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.04567, allocations: 0.6053 MB / 461.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.851e-05/0.04577, allocations: 186.3 kB / 461.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.688e-05/0.04584, allocations: 26.98 kB / 461.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.04588, allocations: 28.48 kB / 461.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.04588, allocations: 0 / 461.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.006539/0.05242, allocations: 5.186 MB / 467.1 MB, free: 4.973 MB / 362.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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.853549932129681] Failed to read output from testmodel.py, exit status != 0: 0.05771836545318365 0.06593982500000001 0.038780597 Calling exit ...