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.001002/0.001002, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001021/0.001021, allocations: 173 kB / 23.82 MB, free: 0.7422 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.04/1.04, allocations: 177.1 MB / 204.2 MB, free: 5.203 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.0655/0.0655, allocations: 18.13 MB / 278.9 MB, free: 11.15 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.924e-06/1.924e-06, allocations: 0 / 357.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.656e-05, allocations: 9.062 kB / 357.3 MB, free: 7.793 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.02245/0.02247, allocations: 26.4 MB / 383.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.02354, allocations: 446.6 kB / 384.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.02365, allocations: 0 / 384.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.891e-05/0.02373, allocations: 47.5 kB / 384.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.02392, allocations: 115 kB / 384.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.02423, allocations: 111.7 kB / 384.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.02453, allocations: 441.9 kB / 384.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.02505, allocations: 231.1 kB / 385.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.02518, allocations: 159.6 kB / 385.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.02535, allocations: 159.5 kB / 385.4 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.02539, allocations: 36 kB / 385.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.02549, allocations: 63.97 kB / 385.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.02554, allocations: 91.66 kB / 385.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.735e-05/0.02564, allocations: 143.7 kB / 385.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.02597, allocations: 322.8 kB / 386 MB, free: 11.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.02597, allocations: 0 / 386 MB, free: 11.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02597, allocations: 0 / 386 MB, free: 11.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.02598, allocations: 0 / 386 MB, free: 11.22 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.0007298/0.02671, allocations: 0.6984 MB / 386.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.02674, allocations: 8.922 kB / 386.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.02683, allocations: 64.7 kB / 386.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.02707, allocations: 239.4 kB / 387 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.02709, allocations: 21.03 kB / 387 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.02713, allocations: 24.38 kB / 387.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.02746, allocations: 308.4 kB / 387.4 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.02747, allocations: 192 / 387.4 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.02749, allocations: 12.38 kB / 387.4 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.0275, allocations: 8.375 kB / 387.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.02769, allocations: 127.8 kB / 387.5 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008742/0.02856, allocations: 0.687 MB / 388.2 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.02889, allocations: 167 kB / 388.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.02904, allocations: 91.62 kB / 388.4 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.02906, allocations: 7.984 kB / 388.5 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.02909, allocations: 41.39 kB / 388.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001555/0.02924, allocations: 47.92 kB / 388.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.372e-06/0.02924, allocations: 0 / 388.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001521/0.03076, allocations: 0.5752 MB / 389.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.03079, allocations: 59.41 kB / 389.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.03098, allocations: 310.3 kB / 389.5 MB, free: 7.547 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.031, allocations: 29.7 kB / 389.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.03109, allocations: 239.4 kB / 389.7 MB, free: 7.273 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.03113, allocations: 79.31 kB / 389.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/0.03119, allocations: 55.58 kB / 389.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.0313, allocations: 0.5079 MB / 390.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.03138, allocations: 48.38 kB / 390.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.03146, allocations: 48.89 kB / 390.5 MB, free: 6.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.03163, allocations: 128.1 kB / 390.6 MB, free: 6.395 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.03163, allocations: 4 kB / 390.6 MB, free: 6.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007307/0.03236, allocations: 388.5 kB / 391 MB, free: 5.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.03237, allocations: 4 kB / 391 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.03238, allocations: 0 / 391 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007113/0.03309, allocations: 230.8 kB / 391.2 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.03335, allocations: 87.86 kB / 391.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.03594, allocations: 6.045 MB / 397.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.03603, allocations: 19.97 kB / 397.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.03604, allocations: 15.94 kB / 397.4 MB, free: 15.27 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 9.521e-05/0.03614, allocations: 172.5 kB / 397.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.03618, allocations: 31.81 kB / 397.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.03675, allocations: 418.8 kB / 398 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.03676, allocations: 4 kB / 398 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.03676, allocations: 0 / 398 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.03676, allocations: 0 / 398 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000789/0.03755, allocations: 0.747 MB / 398.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.03755, allocations: 4 kB / 398.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.03778, allocations: 83.88 kB / 398.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/0.0382, allocations: 190.8 kB / 399 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.03821, allocations: 11.98 kB / 399 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.04031, allocations: 5.808 MB / 404.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.04031, allocations: 0 / 404.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.0409, allocations: 0.5117 MB / 405.3 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.04093, allocations: 31.84 kB / 405.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.04095, allocations: 7.984 kB / 405.4 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-05/0.04104, allocations: 12 kB / 405.4 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.04111, allocations: 31.8 kB / 405.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.04112, allocations: 12 kB / 405.4 MB, free: 6.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.04123, allocations: 215 kB / 405.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04123, allocations: 0 / 405.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.04157, allocations: 107.8 kB / 405.8 MB, free: 6.457 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.0001185/0.04169, allocations: 111.2 kB / 405.9 MB, free: 6.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009685/0.04266, allocations: 0.6707 MB / 406.5 MB, free: 5.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.04266, allocations: 3.938 kB / 406.5 MB, free: 5.629 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.04306, allocations: 0.5068 MB / 407 MB, free: 5.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.04331, allocations: 57.08 kB / 407.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.04425, allocations: 0.6121 MB / 407.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.051e-05/0.04432, allocations: 105.7 kB / 407.8 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.922e-05/0.04439, allocations: 34.95 kB / 407.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.04443, allocations: 24.5 kB / 407.9 MB, free: 4.203 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.04443, allocations: 0 / 407.9 MB, free: 4.203 MB / 330.7 MB Notification: Performance of Templates: time 0.1321/0.1765, allocations: 5.507 MB / 413.4 MB, free: 59.56 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.2238401393406093]