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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 249.4 MB, free: 3.312 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.0962/0.0962, allocations: 22.69 MB / 327.2 MB, free: 7.258 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001942/0.001942, allocations: 69.39 kB / 460.6 MB, free: 41.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 58.04 MB / 0.5065 GB, free: 6.707 MB / 366.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.04058/0.1845, allocations: 23.11 MB / 0.5291 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1864, allocations: 394.8 kB / 0.5294 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.1867, allocations: 4 kB / 0.5294 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1868, allocations: 39.52 kB / 0.5295 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.1872, allocations: 119 kB / 0.5296 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.1878, allocations: 107.8 kB / 0.5297 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007145/0.1886, allocations: 414.2 kB / 0.5301 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005112/0.1891, allocations: 219.4 kB / 0.5303 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.1893, allocations: 171.3 kB / 0.5305 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.1897, allocations: 215.2 kB / 0.5307 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.724e-05/0.1898, allocations: 44 kB / 0.5307 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.1901, allocations: 63.97 kB / 0.5308 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1902, allocations: 87.67 kB / 0.5309 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.1905, allocations: 207 kB / 0.5311 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007652/0.1913, allocations: 442.2 kB / 0.5315 GB, free: 13.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1913, allocations: 0 / 0.5315 GB, free: 13.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1913, allocations: 0 / 0.5315 GB, free: 13.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1913, allocations: 0 / 0.5315 GB, free: 13.25 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.001712/0.193, allocations: 0.6815 MB / 0.5321 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.1931, allocations: 8.75 kB / 0.5322 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1932, allocations: 40.7 kB / 0.5322 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.1938, allocations: 304.2 kB / 0.5325 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.1938, allocations: 20.94 kB / 0.5325 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.1939, allocations: 28.38 kB / 0.5325 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.1948, allocations: 289.3 kB / 0.5328 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1948, allocations: 192 / 0.5328 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.1948, allocations: 15.94 kB / 0.5328 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.1948, allocations: 4 kB / 0.5328 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008817/0.1957, allocations: 262.1 kB / 0.5331 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.198, allocations: 0.8111 MB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.1988, allocations: 226.6 kB / 0.5341 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.1992, allocations: 128.8 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.784e-05/0.1993, allocations: 4 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.1993, allocations: 46.5 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003999/0.1997, allocations: 59.8 kB / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.1997, allocations: 0 / 0.5343 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.004857/0.2046, allocations: 0.9654 MB / 0.5353 GB, free: 9.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.2046, allocations: 59.41 kB / 0.5353 GB, free: 9.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.2051, allocations: 287.4 kB / 0.5356 GB, free: 8.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.2052, allocations: 29.7 kB / 0.5356 GB, free: 8.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.2056, allocations: 184.7 kB / 0.5358 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.2058, allocations: 75.33 kB / 0.5359 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.206, allocations: 53.92 kB / 0.5359 GB, free: 8.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002767/0.2062, allocations: 338.8 kB / 0.5362 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.2066, allocations: 104.3 kB / 0.5363 GB, free: 7.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.207, allocations: 108.9 kB / 0.5364 GB, free: 7.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008445/0.2079, allocations: 226.4 kB / 0.5367 GB, free: 7.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2079, allocations: 3.938 kB / 0.5367 GB, free: 7.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002451/0.2103, allocations: 0.4917 MB / 0.5371 GB, free: 7.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2103, allocations: 8 kB / 0.5371 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2103, allocations: 0 / 0.5371 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.212, allocations: 202.4 kB / 0.5373 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/0.2128, allocations: 91.84 kB / 0.5374 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006875/0.2197, allocations: 4.774 MB / 0.5421 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.2201, allocations: 16.02 kB / 0.5421 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.2201, allocations: 7.984 kB / 0.5421 GB, free: 1.711 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.0003769/0.2205, allocations: 145.8 kB / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.2206, allocations: 31.81 kB / 0.5423 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.2225, allocations: 0.51 MB / 0.5428 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2225, allocations: 4 kB / 0.5428 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2225, allocations: 7.938 kB / 0.5428 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.2225, allocations: 3.984 kB / 0.5428 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.2253, allocations: 0.9194 MB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2254, allocations: 0 / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.226, allocations: 91.81 kB / 0.5438 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.227, allocations: 154.4 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.2271, allocations: 4 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005718/0.2328, allocations: 4.436 MB / 0.5483 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2328, allocations: 0 / 0.5483 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.2346, allocations: 0.5532 MB / 0.5488 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.2348, allocations: 112.9 kB / 0.5489 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.2348, allocations: 8 kB / 0.5489 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.2351, allocations: 15.98 kB / 0.5489 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2352, allocations: 27.95 kB / 0.549 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.2353, allocations: 12 kB / 0.549 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003938/0.2357, allocations: 202 kB / 0.5492 GB, free: 10.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2357, allocations: 0 / 0.5492 GB, free: 10.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008502/0.2365, allocations: 99.89 kB / 0.5493 GB, free: 9.914 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.0002909/0.2368, allocations: 119.1 kB / 0.5494 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002904/0.2397, allocations: 0.6336 MB / 0.55 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2397, allocations: 0 / 0.55 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.241, allocations: 441 kB / 0.5504 GB, free: 8.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006986/0.2417, allocations: 64.62 kB / 0.5505 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.2435, allocations: 0.6295 MB / 0.5511 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.2441, allocations: 0.7922 MB / 0.5519 GB, free: 7.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.2443, allocations: 30.97 kB / 0.5519 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.2444, allocations: 27.44 kB / 0.5519 GB, free: 7.078 MB / 414.1 MB Notification: Performance of SimCode: time 1.253e-06/0.2444, allocations: 0 / 0.5519 GB, free: 7.078 MB / 414.1 MB Notification: Performance of Templates: time 0.0147/0.2591, allocations: 5.303 MB / 0.5571 GB, free: 1.793 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: 5.200686645694077]