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.001093/0.001093, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.00102/0.00102, allocations: 165 kB / 23.82 MB, free: 0.7539 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.028/1.028, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.06468/0.06468, allocations: 18.13 MB / 278.9 MB, free: 11.33 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.874e-06/1.874e-06, allocations: 0 / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.396e-05/4.584e-05, allocations: 5.266 kB / 357.3 MB, free: 7.82 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.02842/0.02846, allocations: 26.4 MB / 383.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.02981, allocations: 442.8 kB / 384.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.02997, allocations: 4 kB / 384.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.03007, allocations: 47.5 kB / 384.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.0303, allocations: 115 kB / 384.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.03077, allocations: 115.7 kB / 384.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.03123, allocations: 434 kB / 384.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.03158, allocations: 227.1 kB / 385.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.03176, allocations: 163.5 kB / 385.2 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.03196, allocations: 167.5 kB / 385.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.03201, allocations: 40 kB / 385.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.03212, allocations: 67.95 kB / 385.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.03217, allocations: 87.66 kB / 385.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.03228, allocations: 139.7 kB / 385.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.03264, allocations: 322.8 kB / 386 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.03264, allocations: 0 / 386 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03265, allocations: 0 / 386 MB, free: 11.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.03265, allocations: 0 / 386 MB, free: 11.25 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.0008452/0.0335, allocations: 0.6984 MB / 386.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.03354, allocations: 8.922 kB / 386.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.03363, allocations: 60.7 kB / 386.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.03397, allocations: 248.1 kB / 387 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.034, allocations: 17.03 kB / 387 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.03403, allocations: 32.31 kB / 387.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.03441, allocations: 308.4 kB / 387.4 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.03443, allocations: 192 / 387.4 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.03445, allocations: 16.38 kB / 387.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.03446, allocations: 12.38 kB / 387.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.03467, allocations: 123.8 kB / 387.5 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.03568, allocations: 0.687 MB / 388.2 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.03598, allocations: 175 kB / 388.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.03613, allocations: 87.64 kB / 388.5 MB, free: 8.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.03616, allocations: 4 kB / 388.5 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.03619, allocations: 45.38 kB / 388.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000168/0.03636, allocations: 43.94 kB / 388.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.03636, allocations: 0 / 388.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001654/0.03802, allocations: 0.5777 MB / 389.1 MB, free: 7.945 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.03805, allocations: 55.41 kB / 389.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.03826, allocations: 310.3 kB / 389.5 MB, free: 7.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.03828, allocations: 25.7 kB / 389.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.0384, allocations: 243.3 kB / 389.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.03844, allocations: 75.34 kB / 389.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/0.03852, allocations: 51.58 kB / 389.9 MB, free: 7.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.03867, allocations: 0.5118 MB / 390.4 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.03876, allocations: 48.44 kB / 390.4 MB, free: 6.586 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.03885, allocations: 48.84 kB / 390.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.03905, allocations: 136.1 kB / 390.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.03905, allocations: 0 / 390.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007926/0.03984, allocations: 380.5 kB / 391 MB, free: 6.016 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.03986, allocations: 8 kB / 391 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.03987, allocations: 0 / 391 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008107/0.04068, allocations: 238.7 kB / 391.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.04098, allocations: 83.94 kB / 391.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/0.04429, allocations: 6.049 MB / 397.4 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.0444, allocations: 12.06 kB / 397.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.04441, allocations: 15.98 kB / 397.4 MB, free: 15.29 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.0001265/0.04454, allocations: 168.5 kB / 397.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.04459, allocations: 35.81 kB / 397.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006748/0.04527, allocations: 414.8 kB / 398 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.04527, allocations: 4 kB / 398 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.04527, allocations: 0 / 398 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.04528, allocations: 3.984 kB / 398 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.04626, allocations: 0.747 MB / 398.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.04627, allocations: 0 / 398.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.04653, allocations: 91.88 kB / 398.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.04702, allocations: 194.9 kB / 399 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.04705, allocations: 8 kB / 399 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.04944, allocations: 5.812 MB / 404.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04945, allocations: 0 / 404.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.05008, allocations: 0.5117 MB / 405.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.05011, allocations: 27.8 kB / 405.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.05013, allocations: 4 kB / 405.4 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.05023, allocations: 19.98 kB / 405.4 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.05031, allocations: 27.81 kB / 405.4 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.05032, allocations: 15.98 kB / 405.5 MB, free: 6.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.05045, allocations: 211 kB / 405.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05045, allocations: 0 / 405.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004122/0.05086, allocations: 107.8 kB / 405.8 MB, free: 6.469 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.0001584/0.05102, allocations: 115.2 kB / 405.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.05206, allocations: 0.6746 MB / 406.6 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.05206, allocations: 0 / 406.6 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.05251, allocations: 0.499 MB / 407.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.0528, allocations: 61.02 kB / 407.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.0539, allocations: 0.6124 MB / 407.7 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.05397, allocations: 101.8 kB / 407.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.249e-05/0.05404, allocations: 27.02 kB / 407.9 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.0541, allocations: 32.48 kB / 407.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0541, allocations: 0 / 407.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of Templates: time 0.1231/0.1772, allocations: 5.266 MB / 413.1 MB, free: 60.05 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.403969103936106]