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.001378/0.001378, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001507/0.001507, allocations: 222.2 kB / 23.77 MB, free: 4.422 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.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.1118/0.1118, allocations: 24.04 MB / 338 MB, free: 11.33 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.91 kB / 475.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.327, allocations: 59.57 MB / 0.5221 GB, free: 10.46 MB / 382.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.07388/0.4009, allocations: 23.41 MB / 0.545 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.4022, allocations: 436 kB / 0.5454 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.4023, allocations: 8 kB / 0.5454 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.4024, allocations: 46.09 kB / 0.5455 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.4026, allocations: 107.4 kB / 0.5456 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.403, allocations: 108.4 kB / 0.5457 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000311/0.4033, allocations: 427.7 kB / 0.5461 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.4037, allocations: 208 kB / 0.5463 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.4038, allocations: 170.3 kB / 0.5464 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.4041, allocations: 196.3 kB / 0.5466 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.4041, allocations: 40 kB / 0.5467 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.4043, allocations: 73.19 kB / 0.5467 GB, free: 400 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.4043, allocations: 84.23 kB / 0.5468 GB, free: 332 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.4044, allocations: 164.2 kB / 0.547 GB, free: 184 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.405, allocations: 457.8 kB / 0.5474 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.405, allocations: 0 / 0.5474 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.405, allocations: 0 / 0.5474 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.405, allocations: 0 / 0.5474 GB, free: 15.88 MB / 398.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.001316/0.4063, allocations: 0.6055 MB / 0.548 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4064, allocations: 8.922 kB / 0.548 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.4065, allocations: 44.66 kB / 0.548 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.4069, allocations: 252.6 kB / 0.5483 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.407, allocations: 25.03 kB / 0.5483 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.407, allocations: 24.94 kB / 0.5483 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.4078, allocations: 367.4 kB / 0.5487 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4078, allocations: 192 / 0.5487 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.4078, allocations: 11.94 kB / 0.5487 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4078, allocations: 8 kB / 0.5487 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/0.4086, allocations: 266 kB / 0.549 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.4101, allocations: 0.6483 MB / 0.5496 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.4107, allocations: 219 kB / 0.5498 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.4111, allocations: 135.2 kB / 0.5499 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.4111, allocations: 4 kB / 0.5499 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.4112, allocations: 38.5 kB / 0.55 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002927/0.4115, allocations: 71.34 kB / 0.55 GB, free: 13.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.4115, allocations: 0 / 0.55 GB, free: 13.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.0037/0.4152, allocations: 0.7393 MB / 0.5508 GB, free: 12.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.4152, allocations: 56.11 kB / 0.5508 GB, free: 12.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.4156, allocations: 269 kB / 0.5511 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.4156, allocations: 33.64 kB / 0.5511 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.4158, allocations: 190.8 kB / 0.5513 GB, free: 12.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.4159, allocations: 81.78 kB / 0.5514 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.416, allocations: 50.72 kB / 0.5514 GB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.4162, allocations: 339.2 kB / 0.5517 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.4165, allocations: 107.4 kB / 0.5518 GB, free: 11.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.4168, allocations: 99.36 kB / 0.5519 GB, free: 11.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/0.4174, allocations: 236.9 kB / 0.5522 GB, free: 11.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4174, allocations: 0 / 0.5522 GB, free: 11.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00191/0.4193, allocations: 0.4996 MB / 0.5526 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4193, allocations: 4 kB / 0.5526 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4193, allocations: 4.656 kB / 0.5527 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.4206, allocations: 209.2 kB / 0.5528 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.4213, allocations: 89.61 kB / 0.5529 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/0.4267, allocations: 4.501 MB / 0.5573 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.4269, allocations: 16.81 kB / 0.5573 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.427, allocations: 18.8 kB / 0.5574 GB, free: 6.176 MB / 398.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.0002053/0.4272, allocations: 138.5 kB / 0.5575 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.4273, allocations: 28.56 kB / 0.5575 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.4288, allocations: 0.5118 MB / 0.558 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.4288, allocations: 4.453 kB / 0.558 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.4288, allocations: 4.062 kB / 0.558 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4289, allocations: 9.969 kB / 0.558 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.4308, allocations: 0.81 MB / 0.5588 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4308, allocations: 0.75 kB / 0.5588 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.4314, allocations: 82.94 kB / 0.5589 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007615/0.4321, allocations: 160.7 kB / 0.5591 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.4322, allocations: 9.547 kB / 0.5591 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.4362, allocations: 4.167 MB / 0.5631 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4362, allocations: 4.281 kB / 0.5631 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.4377, allocations: 0.5506 MB / 0.5637 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.4377, allocations: 34.02 kB / 0.5637 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.4378, allocations: 4.516 kB / 0.5637 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.438, allocations: 21.02 kB / 0.5637 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4381, allocations: 38.45 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.4381, allocations: 4.938 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.4384, allocations: 198.8 kB / 0.564 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4384, allocations: 3.938 kB / 0.564 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006201/0.439, allocations: 99.83 kB / 0.5641 GB, free: 15.43 MB / 414.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.0001897/0.4392, allocations: 116.9 kB / 0.5642 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.4413, allocations: 0.6351 MB / 0.5648 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4413, allocations: 0 / 0.5648 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009862/0.4423, allocations: 441.1 kB / 0.5652 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.4427, allocations: 50.58 kB / 0.5653 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4439, allocations: 0.6556 MB / 0.5659 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4442, allocations: 188.4 kB / 0.5661 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.4442, allocations: 28.42 kB / 0.5661 GB, free: 13.43 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4442, allocations: 0 / 0.5661 GB, free: 13.43 MB / 414.1 MB Notification: Performance of Templates: time 0.01322/0.4575, allocations: 9.272 MB / 0.5752 GB, free: 4.211 MB / 414.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: 8.825780287850648] Failed to read output from testmodel.py, exit status != 0: 0.4667828599922359 0.481586089 0.07350303600000001 Calling exit ...