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.001888/0.001888, allocations: 84.98 kB / 20.23 MB, free: 4.199 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.002065/0.002065, allocations: 165.3 kB / 23.55 MB, free: 0.8789 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 1.588/1.588, allocations: 177.2 MB / 203.9 MB, free: 5.609 MB / 186.7 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.116/0.116, allocations: 18.14 MB / 278.5 MB, free: 11.34 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.755e-06/2.755e-06, allocations: 0 / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.415e-05, allocations: 2.312 kB / 356.5 MB, free: 8.191 MB / 282.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.04709/0.04712, allocations: 24.09 MB / 380.6 MB, free: 276 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.04873, allocations: 446.6 kB / 381.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.04896, allocations: 4 kB / 381.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.04908, allocations: 47.5 kB / 381.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.04944, allocations: 119 kB / 381.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.04991, allocations: 107.7 kB / 381.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006317/0.05055, allocations: 437.9 kB / 381.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.05101, allocations: 223.2 kB / 382 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.05128, allocations: 155.6 kB / 382.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.05161, allocations: 171.5 kB / 382.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.94e-05/0.05171, allocations: 39.94 kB / 382.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.05188, allocations: 67.95 kB / 382.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.05198, allocations: 91.66 kB / 382.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.05218, allocations: 139.7 kB / 382.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000669/0.05285, allocations: 474.4 kB / 383.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.05286, allocations: 0 / 383.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.05286, allocations: 0 / 383.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.05287, allocations: 0 / 383.1 MB, free: 13.79 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.001436/0.05431, allocations: 0.7137 MB / 383.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.05435, allocations: 12.86 kB / 383.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.05451, allocations: 60.7 kB / 383.9 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.05501, allocations: 248.1 kB / 384.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.05505, allocations: 21.03 kB / 384.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.0551, allocations: 28.38 kB / 384.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.0558, allocations: 355.6 kB / 384.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.05581, allocations: 192 / 384.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.05585, allocations: 8.375 kB / 384.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.05586, allocations: 8.375 kB / 384.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.05645, allocations: 238.4 kB / 384.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.05815, allocations: 0.7923 MB / 385.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.05872, allocations: 224.2 kB / 385.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.05906, allocations: 127.6 kB / 385.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.0591, allocations: 4 kB / 385.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.05914, allocations: 45.33 kB / 385.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003274/0.05947, allocations: 55.86 kB / 386 MB, free: 10.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.05947, allocations: 4 kB / 386 MB, free: 10.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.003464/0.06294, allocations: 0.7082 MB / 386.7 MB, free: 9.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.06299, allocations: 55.41 kB / 386.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.06342, allocations: 358.3 kB / 387.1 MB, free: 9.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.06345, allocations: 29.7 kB / 387.1 MB, free: 9.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.06367, allocations: 247.4 kB / 387.4 MB, free: 9.277 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.829e-05/0.06375, allocations: 79.34 kB / 387.5 MB, free: 9.199 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.06387, allocations: 59.58 kB / 387.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005586/0.06443, allocations: 0.5196 MB / 388 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.06469, allocations: 88.42 kB / 388.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.06492, allocations: 92.89 kB / 388.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.06545, allocations: 220 kB / 388.4 MB, free: 8.211 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.06545, allocations: 0 / 388.4 MB, free: 8.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001769/0.06722, allocations: 492.5 kB / 388.9 MB, free: 7.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.06724, allocations: 4 kB / 388.9 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.06724, allocations: 0 / 388.9 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.06891, allocations: 266.7 kB / 389.2 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.06955, allocations: 87.92 kB / 389.3 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006548/0.0761, allocations: 6.31 MB / 395.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.07633, allocations: 16.05 kB / 395.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.07636, allocations: 7.984 kB / 395.6 MB, free: 0.6953 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 0.0002224/0.07658, allocations: 192.5 kB / 395.8 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.07667, allocations: 31.86 kB / 395.8 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.07819, allocations: 0.5065 MB / 396.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.0782, allocations: 4 kB / 396.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.07821, allocations: 0 / 396.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.07821, allocations: 4 kB / 396.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.08024, allocations: 0.8954 MB / 397.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.08024, allocations: 4 kB / 397.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.08078, allocations: 83.98 kB / 397.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.08185, allocations: 222.8 kB / 397.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.08188, allocations: 4 kB / 397.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005279/0.08715, allocations: 5.972 MB / 403.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.08716, allocations: 0 / 403.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.08862, allocations: 0.6132 MB / 404.1 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.0887, allocations: 35.8 kB / 404.2 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.08874, allocations: 8 kB / 404.2 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.08895, allocations: 11.98 kB / 404.2 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.08905, allocations: 27.95 kB / 404.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.08908, allocations: 15.98 kB / 404.2 MB, free: 7.637 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.08934, allocations: 243 kB / 404.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08934, allocations: 4 kB / 404.5 MB, free: 7.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006069/0.08995, allocations: 107.8 kB / 404.6 MB, free: 7.289 MB / 330.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.0002075/0.09015, allocations: 111.2 kB / 404.7 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.09233, allocations: 0.7566 MB / 405.4 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.09233, allocations: 0 / 405.4 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.09339, allocations: 0.5576 MB / 406 MB, free: 5.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.0938, allocations: 61.02 kB / 406 MB, free: 5.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.09504, allocations: 0.6242 MB / 406.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.09525, allocations: 182.3 kB / 406.8 MB, free: 4.871 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.09537, allocations: 31.06 kB / 406.9 MB, free: 4.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.09544, allocations: 24.48 kB / 406.9 MB, free: 4.816 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.09544, allocations: 0 / 406.9 MB, free: 4.816 MB / 330.7 MB Notification: Performance of Templates: time 0.1338/0.2292, allocations: 5.269 MB / 412.2 MB, free: 62.98 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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.146940394071862]