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.001807/0.001807, allocations: 82.95 kB / 19.96 MB, free: 1.754 MB / 14.72 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.002294/0.002294, allocations: 160.9 kB / 23.23 MB, free: 4.883 MB / 14.72 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.599/1.599, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 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.1047/0.1047, allocations: 18.13 MB / 278.1 MB, free: 15.05 MB / 270.1 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.613e-06/1.613e-06, allocations: 0 / 415.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.436e-05, allocations: 2.281 kB / 415.6 MB, free: 2.578 MB / 334.1 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.03337/0.03341, allocations: 23.72 MB / 439.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.03472, allocations: 442.6 kB / 439.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.03484, allocations: 4 kB / 439.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.03494, allocations: 43.56 kB / 439.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.0352, allocations: 111 kB / 439.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.03559, allocations: 119.6 kB / 440 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.03606, allocations: 429.7 kB / 440.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.03641, allocations: 215.1 kB / 440.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.0366, allocations: 163.6 kB / 440.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.03687, allocations: 163.5 kB / 440.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.061e-05/0.03694, allocations: 36 kB / 441 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.03708, allocations: 67.95 kB / 441 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.03718, allocations: 87.67 kB / 441.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.03734, allocations: 139.7 kB / 441.3 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.03789, allocations: 470.5 kB / 441.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.0379, allocations: 0 / 441.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0379, allocations: 0 / 441.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.0379, allocations: 4 kB / 441.7 MB, free: 8.562 MB / 366.1 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.001247/0.03915, allocations: 0.6062 MB / 442.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.03919, allocations: 8.922 kB / 442.3 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.97e-05/0.03928, allocations: 40.7 kB / 442.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.03968, allocations: 257.1 kB / 442.6 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.03971, allocations: 21.03 kB / 442.7 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.03975, allocations: 24.38 kB / 442.7 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.04043, allocations: 367.7 kB / 443 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.04044, allocations: 192 / 443 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.04048, allocations: 12.38 kB / 443.1 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.04049, allocations: 8.375 kB / 443.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006895/0.04118, allocations: 274.3 kB / 443.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.04258, allocations: 0.6526 MB / 444 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.04316, allocations: 226.6 kB / 444.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.04354, allocations: 136.8 kB / 444.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.04357, allocations: 7.859 kB / 444.3 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.04361, allocations: 38.55 kB / 444.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002991/0.04391, allocations: 51.88 kB / 444.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.512e-06/0.04391, allocations: 0 / 444.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.003871/0.04778, allocations: 0.7557 MB / 445.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.04783, allocations: 55.41 kB / 445.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.04814, allocations: 268.2 kB / 445.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.04818, allocations: 33.7 kB / 445.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.04833, allocations: 184.6 kB / 445.7 MB, free: 4.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.0484, allocations: 79.33 kB / 445.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.04851, allocations: 57.91 kB / 445.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.04869, allocations: 334.8 kB / 446.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.04899, allocations: 100.4 kB / 446.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.04929, allocations: 109.6 kB / 446.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/0.04993, allocations: 228.4 kB / 446.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.04993, allocations: 4 kB / 446.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001962/0.05189, allocations: 0.4965 MB / 447.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.05191, allocations: 8 kB / 447.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.05191, allocations: 7.938 kB / 447.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.05321, allocations: 206.3 kB / 447.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.05385, allocations: 91.91 kB / 447.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1852/0.2391, allocations: 4.488 MB / 451.9 MB, free: 42.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.2394, allocations: 19.31 kB / 451.9 MB, free: 42.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.2394, allocations: 10.59 kB / 451.9 MB, free: 42.13 MB / 366.1 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.0001689/0.2396, allocations: 137 kB / 452.1 MB, free: 42.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.2396, allocations: 32.08 kB / 452.1 MB, free: 42.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.2411, allocations: 0.5077 MB / 452.6 MB, free: 41.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2411, allocations: 12.8 kB / 452.6 MB, free: 41.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2411, allocations: 1.25 kB / 452.6 MB, free: 41.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2411, allocations: 2.719 kB / 452.6 MB, free: 41.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.2429, allocations: 0.8102 MB / 453.4 MB, free: 41.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.243, allocations: 1.25 kB / 453.4 MB, free: 41.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.2435, allocations: 90.28 kB / 453.5 MB, free: 41.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007316/0.2442, allocations: 156.8 kB / 453.7 MB, free: 41.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.2443, allocations: 7.703 kB / 453.7 MB, free: 41.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.2466, allocations: 4.166 MB / 457.8 MB, free: 37.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2466, allocations: 8.391 kB / 457.9 MB, free: 37.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.248, allocations: 0.5535 MB / 458.4 MB, free: 37.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.248, allocations: 35.52 kB / 458.4 MB, free: 37.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2481, allocations: 6.75 kB / 458.4 MB, free: 37.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.2483, allocations: 16.39 kB / 458.5 MB, free: 37.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.2484, allocations: 28.33 kB / 458.5 MB, free: 37.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.2484, allocations: 12.08 kB / 458.5 MB, free: 37.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.2486, allocations: 198.8 kB / 458.7 MB, free: 37.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2486, allocations: 0 / 458.7 MB, free: 37.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.2492, allocations: 107.4 kB / 458.8 MB, free: 37.07 MB / 366.1 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.0001575/0.2494, allocations: 111.5 kB / 458.9 MB, free: 36.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.2514, allocations: 0.6402 MB / 459.6 MB, free: 36.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2514, allocations: 2.656 kB / 459.6 MB, free: 36.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.2523, allocations: 437 kB / 460 MB, free: 36.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.2527, allocations: 53.09 kB / 460 MB, free: 36.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2537, allocations: 0.6111 MB / 460.6 MB, free: 36.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.2539, allocations: 185.2 kB / 460.8 MB, free: 35.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.254, allocations: 25.97 kB / 460.8 MB, free: 35.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.2541, allocations: 30.45 kB / 460.9 MB, free: 35.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2541, allocations: 0 / 460.9 MB, free: 35.92 MB / 366.1 MB Notification: Performance of Templates: time 0.01098/0.265, allocations: 5.175 MB / 466.1 MB, free: 35.51 MB / 366.1 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.177353218197823] Failed to read output from testmodel.py, exit status != 0: 0.2741084396839142 0.28391588500000003 0.24384846300000002 Calling exit ...