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.001153/0.001153, allocations: 72.83 kB / 20.74 MB, free: 3.75 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.001472/0.001472, allocations: 173 kB / 24.16 MB, free: 336 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 1.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.07966/0.07966, allocations: 18.13 MB / 279.2 MB, free: 11.21 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 2.595e-06/2.595e-06, allocations: 0 / 304.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.607e-05, allocations: 5.906 kB / 304.6 MB, free: 0.5195 MB / 266.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.03063/0.03066, allocations: 32.27 MB / 336.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.0319, allocations: 462.3 kB / 337.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.03203, allocations: 4 kB / 337.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.981e-05/0.03211, allocations: 47.5 kB / 337.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.03232, allocations: 115 kB / 337.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.03267, allocations: 111.7 kB / 337.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.03303, allocations: 433.9 kB / 338 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.03335, allocations: 217.9 kB / 338.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.03352, allocations: 159.6 kB / 338.3 MB, free: 476 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.0337, allocations: 167.5 kB / 338.5 MB, free: 308 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.03374, allocations: 40 kB / 338.6 MB, free: 268 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.03386, allocations: 67.91 kB / 338.6 MB, free: 200 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.03392, allocations: 91.66 kB / 338.7 MB, free: 108 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.03401, allocations: 135.7 kB / 338.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.03431, allocations: 314.8 kB / 339.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.03431, allocations: 0 / 339.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.03431, allocations: 0 / 339.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.03432, allocations: 0 / 339.1 MB, free: 15.66 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.0006644/0.03498, allocations: 0.5877 MB / 339.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.03502, allocations: 8.922 kB / 339.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.03508, allocations: 44.91 kB / 339.8 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.0353, allocations: 196.7 kB / 340 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.03533, allocations: 21.03 kB / 340 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.03536, allocations: 24.38 kB / 340 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.03565, allocations: 292.4 kB / 340.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.03566, allocations: 192 / 340.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.03568, allocations: 16.38 kB / 340.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.03569, allocations: 8.375 kB / 340.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.0358, allocations: 80.48 kB / 340.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.03654, allocations: 488.8 kB / 340.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.03673, allocations: 134.4 kB / 341 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.267e-05/0.03682, allocations: 68.81 kB / 341.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.03685, allocations: 4 kB / 341.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.03687, allocations: 38.5 kB / 341.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001564/0.03703, allocations: 59.81 kB / 341.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.03703, allocations: 4 kB / 341.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001282/0.03831, allocations: 495.2 kB / 341.7 MB, free: 13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.03834, allocations: 55.41 kB / 341.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.03848, allocations: 243 kB / 342 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.0385, allocations: 29.7 kB / 342 MB, free: 12.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.03857, allocations: 173 kB / 342.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.03861, allocations: 79.27 kB / 342.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.03867, allocations: 45.91 kB / 342.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.03875, allocations: 342.7 kB / 342.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.0388, allocations: 28.45 kB / 342.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.03884, allocations: 28.92 kB / 342.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.03896, allocations: 108 kB / 342.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.03896, allocations: 4 kB / 342.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005718/0.03953, allocations: 284.3 kB / 343.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.03955, allocations: 11.94 kB / 343.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.03955, allocations: 0 / 343.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/0.04023, allocations: 218.2 kB / 343.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.04055, allocations: 96.61 kB / 343.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.0427, allocations: 4.052 MB / 347.4 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.04279, allocations: 16.05 kB / 347.5 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.0428, allocations: 7.984 kB / 347.5 MB, free: 6.914 MB / 314.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.139e-05/0.0429, allocations: 121.8 kB / 347.6 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.04293, allocations: 23.92 kB / 347.6 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.04342, allocations: 331.1 kB / 347.9 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.04343, allocations: 4 kB / 347.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.04343, allocations: 4 kB / 347.9 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.04344, allocations: 3.984 kB / 347.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/0.0441, allocations: 0.5267 MB / 348.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.04411, allocations: 0 / 348.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.04436, allocations: 91.92 kB / 348.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.04477, allocations: 178.3 kB / 348.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.04479, allocations: 4 kB / 348.7 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.04641, allocations: 3.878 MB / 352.6 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.04641, allocations: 0 / 352.6 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.04686, allocations: 383.2 kB / 353 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.04689, allocations: 23.81 kB / 353 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.04691, allocations: 8.031 kB / 353 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.047, allocations: 23.92 kB / 353 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.04707, allocations: 23.95 kB / 353.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.04708, allocations: 15.92 kB / 353.1 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.572e-05/0.04714, allocations: 84.66 kB / 353.2 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.04714, allocations: 0 / 353.2 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000352/0.0475, allocations: 103.8 kB / 353.3 MB, free: 0.7969 MB / 314.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.0001299/0.04763, allocations: 96.34 kB / 353.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007904/0.04842, allocations: 0.5165 MB / 353.9 MB, free: 152 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.04842, allocations: 4 kB / 353.9 MB, free: 148 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.04878, allocations: 381.8 kB / 354.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.04899, allocations: 57.02 kB / 354.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/0.0499, allocations: 0.6028 MB / 354.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.217e-05/0.04997, allocations: 105.8 kB / 355 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.153e-05/0.05006, allocations: 26.98 kB / 355 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.05019, allocations: 111.3 kB / 355.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.05019, allocations: 3.938 kB / 355.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of Templates: time 0.007589/0.05778, allocations: 5.654 MB / 360.8 MB, free: 9.219 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.127171717584133]