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.001488/0.001488, allocations: 105.8 kB / 16.45 MB, free: 6.449 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.001525/0.001525, allocations: 186.9 kB / 19.4 MB, free: 3.66 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.518/1.518, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.1006/0.1006, allocations: 22.7 MB / 325.4 MB, free: 3.539 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.002809/0.002809, allocations: 63.89 kB / 457.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1449, allocations: 58.02 MB / 0.5036 GB, free: 7.133 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.4553/0.6002, allocations: 22.92 MB / 0.526 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.6014, allocations: 391.9 kB / 0.5263 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.6016, allocations: 3.219 kB / 0.5263 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.6017, allocations: 41.33 kB / 0.5264 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.602, allocations: 109.7 kB / 0.5265 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.6024, allocations: 105.7 kB / 0.5266 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.6028, allocations: 411.2 kB / 0.527 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.6032, allocations: 220.8 kB / 0.5272 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.6033, allocations: 177.2 kB / 0.5274 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.6036, allocations: 212.7 kB / 0.5276 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.6037, allocations: 37.81 kB / 0.5276 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.6039, allocations: 67.78 kB / 0.5277 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.604, allocations: 88.31 kB / 0.5277 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.6041, allocations: 195.3 kB / 0.5279 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.6048, allocations: 449.9 kB / 0.5284 GB, free: 6.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6048, allocations: 1.031 kB / 0.5284 GB, free: 6.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6048, allocations: 4 kB / 0.5284 GB, free: 6.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.6048, allocations: 0 / 0.5284 GB, free: 6.242 MB / 382.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.001264/0.6061, allocations: 0.673 MB / 0.529 GB, free: 5.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6061, allocations: 14.28 kB / 0.529 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.6062, allocations: 42.89 kB / 0.5291 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.6066, allocations: 314.2 kB / 0.5294 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.6067, allocations: 18.56 kB / 0.5294 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.6067, allocations: 23.97 kB / 0.5294 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.6074, allocations: 286.9 kB / 0.5297 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6074, allocations: 1.344 kB / 0.5297 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.6074, allocations: 22.11 kB / 0.5297 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.6074, allocations: 7.062 kB / 0.5297 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/0.6081, allocations: 258.9 kB / 0.53 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.6097, allocations: 0.8133 MB / 0.5308 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.6103, allocations: 222.6 kB / 0.531 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.6107, allocations: 135.5 kB / 0.5311 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.6107, allocations: 6.141 kB / 0.5311 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.6107, allocations: 40.44 kB / 0.5312 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003005/0.611, allocations: 60.97 kB / 0.5312 GB, free: 4.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.611, allocations: 1.125 kB / 0.5312 GB, free: 4.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.003974/0.615, allocations: 0.9678 MB / 0.5322 GB, free: 4.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.615, allocations: 53.88 kB / 0.5322 GB, free: 4.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.6154, allocations: 284.3 kB / 0.5325 GB, free: 4.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.6154, allocations: 31.02 kB / 0.5325 GB, free: 4.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.6156, allocations: 186.9 kB / 0.5327 GB, free: 4.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.6156, allocations: 84.06 kB / 0.5328 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.6157, allocations: 48.64 kB / 0.5328 GB, free: 4.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.6158, allocations: 338.2 kB / 0.5331 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.6161, allocations: 102.4 kB / 0.5332 GB, free: 3.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.6164, allocations: 104.9 kB / 0.5333 GB, free: 3.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.617, allocations: 229.8 kB / 0.5336 GB, free: 3.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.617, allocations: 4.734 kB / 0.5336 GB, free: 3.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001936/0.6189, allocations: 0.4949 MB / 0.534 GB, free: 3.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6189, allocations: 6.688 kB / 0.534 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6189, allocations: 0 / 0.534 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.6202, allocations: 206.7 kB / 0.5342 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.6209, allocations: 87.7 kB / 0.5343 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.6253, allocations: 4.769 MB / 0.539 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.6257, allocations: 16.17 kB / 0.539 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.6257, allocations: 12.92 kB / 0.539 GB, free: 14.82 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.0003059/0.626, allocations: 140 kB / 0.5391 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.6261, allocations: 28.81 kB / 0.5392 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.6279, allocations: 0.5099 MB / 0.5397 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.6279, allocations: 2.875 kB / 0.5397 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6279, allocations: 3.219 kB / 0.5397 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.6279, allocations: 1.969 kB / 0.5397 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.6301, allocations: 0.9319 MB / 0.5406 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6301, allocations: 0.6562 kB / 0.5406 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.6307, allocations: 92.78 kB / 0.5407 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006886/0.6314, allocations: 151.1 kB / 0.5408 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.6314, allocations: 12.25 kB / 0.5408 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/0.6356, allocations: 4.425 MB / 0.5452 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6356, allocations: 4.062 kB / 0.5452 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.6371, allocations: 0.5482 MB / 0.5457 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.6372, allocations: 114 kB / 0.5458 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.6373, allocations: 4.656 kB / 0.5458 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.6375, allocations: 15.75 kB / 0.5458 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.6376, allocations: 36.53 kB / 0.5459 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.6377, allocations: 7.812 kB / 0.5459 GB, free: 9.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.6379, allocations: 207.3 kB / 0.5461 GB, free: 8.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6379, allocations: 0 / 0.5461 GB, free: 8.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000634/0.6385, allocations: 102.4 kB / 0.5462 GB, free: 8.93 MB / 398.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.0001985/0.6387, allocations: 114.9 kB / 0.5463 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.6409, allocations: 0.6412 MB / 0.5469 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6409, allocations: 0 / 0.5469 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009556/0.6418, allocations: 440.3 kB / 0.5473 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.6423, allocations: 58.88 kB / 0.5474 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.6435, allocations: 0.6283 MB / 0.548 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.6439, allocations: 0.7898 MB / 0.5488 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.6441, allocations: 31.59 kB / 0.5488 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.6441, allocations: 27.03 kB / 0.5488 GB, free: 7.094 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.6441, allocations: 0 / 0.5488 GB, free: 7.094 MB / 398.1 MB Notification: Performance of Templates: time 0.01174/0.6559, allocations: 5.188 MB / 0.5539 GB, free: 4.812 MB / 398.1 MB " [Timeout remaining time 659] 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.518462248146534] Failed to read output from testmodel.py, exit status != 0: 0.6661715349182487 0.67759888 0.069967216 Calling exit ...