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.00101/0.00101, allocations: 84.44 kB / 20.71 MB, free: 3.859 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.001064/0.001064, allocations: 165.2 kB / 23.97 MB, free: 0.5898 MB / 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 0.8499/0.8499, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.05963/0.05963, allocations: 18.13 MB / 278.9 MB, free: 11.54 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 1.933e-06/1.933e-06, allocations: 0 / 416.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.517e-05/3.71e-05, allocations: 3.266 kB / 416.3 MB, free: 12.51 MB / 330.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.02253/0.02257, allocations: 23.69 MB / 440 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.02374, allocations: 448.9 kB / 440.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.02386, allocations: 4 kB / 440.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.636e-05/0.02394, allocations: 45.48 kB / 440.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.02414, allocations: 115.5 kB / 440.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.02453, allocations: 116.1 kB / 440.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.02486, allocations: 439.1 kB / 441.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.02516, allocations: 208.4 kB / 441.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.0253, allocations: 158.8 kB / 441.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.02551, allocations: 165.2 kB / 441.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.02555, allocations: 40 kB / 441.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.02565, allocations: 68.23 kB / 441.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.02571, allocations: 88.92 kB / 441.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.0258, allocations: 140.7 kB / 442 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.02625, allocations: 474.6 kB / 442.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.02626, allocations: 0.7031 kB / 442.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.02626, allocations: 0 / 442.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.02627, allocations: 0 / 442.5 MB, free: 12.99 MB / 346.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.0007908/0.02706, allocations: 0.6015 MB / 443.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.02709, allocations: 12.92 kB / 443.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.02716, allocations: 40.7 kB / 443.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.02746, allocations: 251.9 kB / 443.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.02748, allocations: 17.03 kB / 443.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.02751, allocations: 28.38 kB / 443.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.02793, allocations: 371.5 kB / 443.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.02794, allocations: 192 / 443.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.02796, allocations: 8.375 kB / 443.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.02797, allocations: 12.38 kB / 443.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.02835, allocations: 261.7 kB / 444 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.02926, allocations: 0.6536 MB / 444.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.02962, allocations: 229.5 kB / 444.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.02984, allocations: 134.1 kB / 445 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.02986, allocations: 5.469 kB / 445.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.02989, allocations: 43.11 kB / 445.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001537/0.03004, allocations: 54.92 kB / 445.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.03004, allocations: 0 / 445.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001896/0.03194, allocations: 0.7451 MB / 445.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.03197, allocations: 55.41 kB / 445.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.03217, allocations: 273.6 kB / 446.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.03219, allocations: 25.7 kB / 446.2 MB, free: 9.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.03229, allocations: 193.8 kB / 446.4 MB, free: 9.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.03233, allocations: 88.67 kB / 446.5 MB, free: 9.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.0324, allocations: 50.86 kB / 446.6 MB, free: 9.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.03248, allocations: 339.5 kB / 446.9 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.03264, allocations: 103.3 kB / 447 MB, free: 8.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.0328, allocations: 100.1 kB / 447.1 MB, free: 8.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.03311, allocations: 235.5 kB / 447.3 MB, free: 8.566 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.03311, allocations: 0 / 447.3 MB, free: 8.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009248/0.03403, allocations: 0.4993 MB / 447.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.03405, allocations: 4.703 kB / 447.8 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.03406, allocations: 0 / 447.8 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.03466, allocations: 209.1 kB / 448 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.03495, allocations: 85.98 kB / 448.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.03764, allocations: 4.505 MB / 452.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.03777, allocations: 17 kB / 452.6 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.03779, allocations: 10.77 kB / 452.6 MB, free: 3.301 MB / 346.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 0.0001391/0.03793, allocations: 146.4 kB / 452.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.03797, allocations: 32.61 kB / 452.8 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007939/0.03876, allocations: 0.5056 MB / 453.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.03876, allocations: 4 kB / 453.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.03877, allocations: 7.938 kB / 453.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.03877, allocations: 0.7969 kB / 453.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.03977, allocations: 0.8144 MB / 454.2 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03978, allocations: 0 / 454.2 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.04002, allocations: 87.03 kB / 454.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003499/0.04037, allocations: 157.2 kB / 454.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.04038, allocations: 8.516 kB / 454.4 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.04231, allocations: 4.162 MB / 458.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.04231, allocations: 0 / 458.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.043, allocations: 0.5538 MB / 459.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.04304, allocations: 31.75 kB / 459.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.04306, allocations: 8 kB / 459.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.04316, allocations: 19.98 kB / 459.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.04323, allocations: 31.94 kB / 459.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.04324, allocations: 12 kB / 459.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.04336, allocations: 195.1 kB / 459.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04336, allocations: 0 / 459.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.04374, allocations: 99.83 kB / 459.5 MB, free: 12.44 MB / 362.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.0001448/0.04388, allocations: 115.1 kB / 459.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.0449, allocations: 0.6413 MB / 460.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.0449, allocations: 0 / 460.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.04533, allocations: 437.1 kB / 460.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.0456, allocations: 54.75 kB / 460.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.04632, allocations: 0.6303 MB / 461.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.04642, allocations: 186.3 kB / 461.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.04648, allocations: 32.48 kB / 461.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.04648, allocations: 4 kB / 461.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of Templates: time 0.006559/0.05304, allocations: 9.268 MB / 470.9 MB, free: 0.9883 MB / 362.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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.006070381961763] Failed to read output from testmodel.py, exit status != 0: 0.059452977031469345 0.066742444 0.038822416000000005 Calling exit ...