Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.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.000823/0.000823, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002023, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007228/0.0007228, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001743, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.039/1.039, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0985/1.138, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.0655/0.0655, allocations: 18.13 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01074/0.07624, allocations: 6.786 MB / 269.1 MB, free: 6.246 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.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 270.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.103e-05, allocations: 10.25 kB / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.001943/0.001964, allocations: 1.782 MB / 272.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.002072, allocations: 79.64 kB / 272.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.002106, allocations: 0 / 272.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.002144, allocations: 11.92 kB / 272.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.002195, allocations: 23.78 kB / 272.4 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.529e-05/0.00223, allocations: 15.98 kB / 272.4 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.00231, allocations: 83.59 kB / 272.5 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.002415, allocations: 28.19 kB / 272.5 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.00248, allocations: 47.91 kB / 272.6 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.002565, allocations: 27.89 kB / 272.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.002584, allocations: 8 kB / 272.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.002596, allocations: 8 kB / 272.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.002615, allocations: 11.94 kB / 272.6 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.00264, allocations: 23.94 kB / 272.7 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.222e-05/0.002732, allocations: 43.84 kB / 272.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.002741, allocations: 4 kB / 272.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.002741, allocations: 0 / 272.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.002749, allocations: 0 / 272.7 MB, free: 2.559 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003244/0.003073, allocations: 296.5 kB / 273 MB, free: 2.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.725e-05/0.0031, allocations: 8.031 kB / 273 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.003133, allocations: 12.92 kB / 273 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.323e-05/0.003206, allocations: 117.7 kB / 273.1 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.003217, allocations: 8.562 kB / 273.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.003231, allocations: 12.38 kB / 273.2 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.478e-05/0.003326, allocations: 74.7 kB / 273.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.003332, allocations: 4 kB / 273.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.003345, allocations: 4 kB / 273.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.00335, allocations: 4 kB / 273.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.995e-05/0.00338, allocations: 16 kB / 273.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.003703, allocations: 240 kB / 273.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.003757, allocations: 38.5 kB / 273.5 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.003773, allocations: 8.859 kB / 273.5 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.003791, allocations: 8 kB / 273.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.003807, allocations: 34.56 kB / 273.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.003808, allocations: 0 / 273.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 9.34e-05/0.003901, allocations: 53.67 kB / 273.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.003925, allocations: 55.34 kB / 273.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.003976, allocations: 114.9 kB / 273.8 MB, free: 1.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.003984, allocations: 25.7 kB / 273.8 MB, free: 1.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.00402, allocations: 108.1 kB / 273.9 MB, free: 1.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.004032, allocations: 27.78 kB / 274 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.004057, allocations: 21.7 kB / 274 MB, free: 1.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.004119, allocations: 318.8 kB / 274.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.004129, allocations: 4 kB / 274.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.00415, allocations: 34.75 kB / 274.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.004188, allocations: 50.42 kB / 274.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.00419, allocations: 4 kB / 274.4 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.588e-05/0.004246, allocations: 65.61 kB / 274.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.004256, allocations: 4 kB / 274.5 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.00426, allocations: 0 / 274.5 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-06/0.004268, allocations: 4 kB / 274.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.00437, allocations: 19.98 kB / 274.5 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.004373, allocations: 4.062 kB / 274.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.004392, allocations: 7.953 kB / 274.5 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.004398, allocations: 3.984 kB / 274.5 MB, free: 0.6094 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.004443, allocations: 121.7 kB / 274.6 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.004454, allocations: 0 / 274.6 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.004537, allocations: 62.09 kB / 274.7 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.004538, allocations: 0 / 274.7 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.004539, allocations: 0 / 274.7 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.004542, allocations: 4 kB / 274.7 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.448e-05/0.004627, allocations: 89.81 kB / 274.8 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004628, allocations: 0 / 274.8 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.004668, allocations: 23.86 kB / 274.8 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.004676, allocations: 7.953 kB / 274.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004677, allocations: 0 / 274.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-06/0.004681, allocations: 0 / 274.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.004681, allocations: 0 / 274.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.004683, allocations: 0 / 274.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.827e-05/0.004751, allocations: 151.5 kB / 274.9 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.004759, allocations: 4 kB / 274.9 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.612e-05/0.004785, allocations: 4 kB / 274.9 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.004797, allocations: 7.984 kB / 275 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.004799, allocations: 0 / 275 MB, free: 92 kB / 266.7 MB Notification: Performance of sorting global known variables: time 1.211e-05/0.004811, allocations: 12.84 kB / 275 MB, free: 76 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004811, allocations: 7.938 kB / 275 MB, free: 68 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001157/0.004927, allocations: 16 kB / 275 MB, free: 52 kB / 266.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1079/0.1128, allocations: 76.36 kB / 275.1 MB, free: 3.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1129, allocations: 31.38 kB / 275.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.113, allocations: 0 / 275.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.113, allocations: 24.92 kB / 275.1 MB, free: 3.914 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.1132, allocations: 15.94 kB / 275.1 MB, free: 3.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1142, allocations: 184.5 kB / 275.3 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.576e-05/0.1142, allocations: 61.78 kB / 275.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.1143, allocations: 10.2 kB / 275.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.1143, allocations: 55.5 kB / 275.4 MB, free: 3.672 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1143, allocations: 0 / 275.4 MB, free: 3.672 MB / 266.7 MB Notification: Performance of Templates: time 0.00209/0.1164, allocations: 0.5349 MB / 276 MB, free: 3.66 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.639348464086652]