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.001016/0.001016, allocations: 77.88 kB / 21.46 MB, free: 3.043 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.001373/0.001373, allocations: 167.5 kB / 24.86 MB, free: 8.906 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 0.9875/0.9875, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.086/0.086, allocations: 18.15 MB / 280 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.854e-06/1.854e-06, allocations: 0 / 358.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.758e-05, allocations: 5.125 kB / 358.6 MB, free: 8.559 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.03031/0.03033, allocations: 26.41 MB / 385 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.03175, allocations: 446.7 kB / 385.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.03191, allocations: 4 kB / 385.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 8.381e-05/0.03199, allocations: 43.52 kB / 385.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.03221, allocations: 115 kB / 385.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.03262, allocations: 115.7 kB / 385.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.03312, allocations: 429.9 kB / 386.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.03347, allocations: 227.1 kB / 386.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.03366, allocations: 151.6 kB / 386.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.03385, allocations: 175.5 kB / 386.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.0339, allocations: 36 kB / 386.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.03401, allocations: 63.97 kB / 386.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.03406, allocations: 87.66 kB / 386.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.03417, allocations: 135.7 kB / 387 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.03452, allocations: 322.8 kB / 387.3 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.03452, allocations: 0 / 387.3 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03452, allocations: 0 / 387.3 MB, free: 12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.03453, allocations: 0 / 387.3 MB, free: 12 MB / 362.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.0009129/0.03544, allocations: 0.6944 MB / 388 MB, free: 11.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.03548, allocations: 16.92 kB / 388 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/0.03557, allocations: 56.7 kB / 388.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.03584, allocations: 243.4 kB / 388.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.03587, allocations: 21.03 kB / 388.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.0359, allocations: 24.38 kB / 388.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.03622, allocations: 296.3 kB / 388.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.03624, allocations: 192 / 388.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.03626, allocations: 8.375 kB / 388.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.03627, allocations: 8.375 kB / 388.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.0364, allocations: 100.4 kB / 388.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.03724, allocations: 0.6484 MB / 389.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.03747, allocations: 155.1 kB / 389.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.03758, allocations: 79.55 kB / 389.6 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.0376, allocations: 8 kB / 389.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.03762, allocations: 41.39 kB / 389.7 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000157/0.03778, allocations: 55.86 kB / 389.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.402e-06/0.03778, allocations: 0 / 389.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001473/0.03926, allocations: 0.5372 MB / 390.3 MB, free: 8.848 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.03928, allocations: 59.41 kB / 390.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.03946, allocations: 302.2 kB / 390.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.03949, allocations: 29.7 kB / 390.6 MB, free: 8.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.03961, allocations: 243.3 kB / 390.9 MB, free: 8.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.03966, allocations: 75.33 kB / 390.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.03973, allocations: 55.56 kB / 391 MB, free: 8.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004281/0.04016, allocations: 0.5117 MB / 391.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.04022, allocations: 36.42 kB / 391.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.04027, allocations: 36.91 kB / 391.6 MB, free: 7.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.0404, allocations: 114.8 kB / 391.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.0404, allocations: 0 / 391.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006877/0.04109, allocations: 361 kB / 392 MB, free: 6.977 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.04111, allocations: 9.969 kB / 392.1 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.04111, allocations: 0 / 392.1 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007162/0.04183, allocations: 234.7 kB / 392.3 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.0421, allocations: 83.86 kB / 392.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.04501, allocations: 5.987 MB / 398.4 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.696e-05/0.0451, allocations: 12 kB / 398.4 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.04512, allocations: 12.05 kB / 398.4 MB, free: 336 kB / 362.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.0001181/0.04524, allocations: 172.5 kB / 398.5 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.04528, allocations: 39.75 kB / 398.6 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00058/0.04586, allocations: 386.9 kB / 399 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.04587, allocations: 4 kB / 399 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.04587, allocations: 0 / 399 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.04588, allocations: 3.984 kB / 399 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.04666, allocations: 0.6811 MB / 399.7 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.04667, allocations: 4.062 kB / 399.7 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.0469, allocations: 79.94 kB / 399.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.04737, allocations: 190.8 kB / 399.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.04738, allocations: 8 kB / 399.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.04998, allocations: 5.747 MB / 405.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.04998, allocations: 8.016 kB / 405.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.05057, allocations: 500 kB / 406.2 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.05061, allocations: 35.75 kB / 406.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.05064, allocations: 8 kB / 406.2 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.05073, allocations: 15.94 kB / 406.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.05081, allocations: 31.94 kB / 406.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.05082, allocations: 4 kB / 406.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.05092, allocations: 207 kB / 406.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05092, allocations: 0 / 406.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004229/0.05135, allocations: 103.8 kB / 406.6 MB, free: 7.73 MB / 378.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.0001331/0.05148, allocations: 111.2 kB / 406.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008779/0.05236, allocations: 0.6465 MB / 407.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.05236, allocations: 4 kB / 407.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.05275, allocations: 0.4952 MB / 407.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.053, allocations: 44.95 kB / 407.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009019/0.0539, allocations: 0.6124 MB / 408.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.292e-05/0.05397, allocations: 101.8 kB / 408.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.268e-05/0.05404, allocations: 26.97 kB / 408.6 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.05418, allocations: 134.2 kB / 408.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.05418, allocations: 0 / 408.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of Templates: time 0.007701/0.06188, allocations: 5.737 MB / 414.5 MB, free: 15.76 MB / 394.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.179856091272086]