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.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.001762/0.001762, allocations: 113.8 kB / 17.61 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.00193/0.00193, allocations: 186 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.592/1.592, allocations: 225.6 MB / 249.4 MB, free: 3.137 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.1008/0.1008, allocations: 22.69 MB / 327.2 MB, free: 7.195 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.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 0.00187/0.00187, allocations: 75.55 kB / 460.6 MB, free: 41.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1451, allocations: 58.03 MB / 0.5065 GB, free: 6.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003652/0.1488, allocations: 1.696 MB / 0.5082 GB, free: 4.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002965/0.1491, allocations: 63.73 kB / 0.5082 GB, free: 4.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.1491, allocations: 0 / 0.5082 GB, free: 4.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.117e-05/0.1492, allocations: 19.8 kB / 0.5082 GB, free: 4.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1494, allocations: 15.84 kB / 0.5083 GB, free: 4.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.1e-05/0.1494, allocations: 19.92 kB / 0.5083 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1496, allocations: 79.66 kB / 0.5084 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1497, allocations: 32.16 kB / 0.5084 GB, free: 4.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.1498, allocations: 39.84 kB / 0.5084 GB, free: 4.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1499, allocations: 27.86 kB / 0.5085 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1499, allocations: 8 kB / 0.5085 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.1499, allocations: 8 kB / 0.5085 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.15, allocations: 15.92 kB / 0.5085 GB, free: 4.613 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.15, allocations: 39.86 kB / 0.5085 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1502, allocations: 79.64 kB / 0.5086 GB, free: 4.496 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1502, allocations: 4 kB / 0.5086 GB, free: 4.492 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1502, allocations: 0 / 0.5086 GB, free: 4.492 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1502, allocations: 0 / 0.5086 GB, free: 4.492 MB / 366.1 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.00049/0.1507, allocations: 375.4 kB / 0.509 GB, free: 4.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1507, allocations: 8.75 kB / 0.509 GB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.1508, allocations: 12.89 kB / 0.509 GB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1509, allocations: 168.3 kB / 0.5091 GB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1509, allocations: 8.562 kB / 0.5091 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1509, allocations: 12.38 kB / 0.5092 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1511, allocations: 89.97 kB / 0.5092 GB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1512, allocations: 4 kB / 0.5092 GB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1512, allocations: 4 kB / 0.5093 GB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1512, allocations: 4 kB / 0.5093 GB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1513, allocations: 47.97 kB / 0.5093 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.152, allocations: 453.7 kB / 0.5097 GB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.1522, allocations: 54.5 kB / 0.5098 GB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.1522, allocations: 28.92 kB / 0.5098 GB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1523, allocations: 0 / 0.5098 GB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1523, allocations: 30.56 kB / 0.5098 GB, free: 3.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1523, allocations: 0 / 0.5098 GB, free: 3.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002828/0.1526, allocations: 81.61 kB / 0.5099 GB, free: 2.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1526, allocations: 59.33 kB / 0.51 GB, free: 2.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.1527, allocations: 105.9 kB / 0.5101 GB, free: 2.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.1527, allocations: 25.7 kB / 0.5101 GB, free: 2.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.1527, allocations: 112.2 kB / 0.5102 GB, free: 2.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.1528, allocations: 23.78 kB / 0.5102 GB, free: 2.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.1528, allocations: 21.72 kB / 0.5103 GB, free: 2.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.1529, allocations: 318.8 kB / 0.5106 GB, free: 2.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.1529, allocations: 12 kB / 0.5106 GB, free: 2.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.153, allocations: 42.44 kB / 0.5106 GB, free: 2.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1531, allocations: 58.52 kB / 0.5107 GB, free: 2.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1531, allocations: 4 kB / 0.5107 GB, free: 2.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001746/0.1533, allocations: 77.62 kB / 0.5107 GB, free: 2.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1533, allocations: 8 kB / 0.5107 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1533, allocations: 0 / 0.5107 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.1533, allocations: 3.984 kB / 0.5108 GB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1535, allocations: 16 kB / 0.5108 GB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1535, allocations: 3.938 kB / 0.5108 GB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.1535, allocations: 15.95 kB / 0.5108 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1535, allocations: 4 kB / 0.5108 GB, free: 1.984 MB / 366.1 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 7.512e-05/0.1536, allocations: 126.5 kB / 0.5109 GB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.1537, allocations: 7.953 kB / 0.5109 GB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.1538, allocations: 74.05 kB / 0.511 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1538, allocations: 4 kB / 0.511 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1539, allocations: 4.438 kB / 0.511 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1539, allocations: 3.984 kB / 0.511 GB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.1541, allocations: 181.7 kB / 0.5112 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1541, allocations: 4 kB / 0.5112 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1542, allocations: 19.92 kB / 0.5112 GB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1542, allocations: 0 / 0.5112 GB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1542, allocations: 4 kB / 0.5112 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1542, allocations: 0 / 0.5112 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1542, allocations: 4.094 kB / 0.5112 GB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1544, allocations: 167.5 kB / 0.5114 GB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.1544, allocations: 89.06 kB / 0.5115 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1544, allocations: 3.984 kB / 0.5115 GB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1545, allocations: 0 / 0.5115 GB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.1546, allocations: 7.938 kB / 0.5115 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1546, allocations: 0 / 0.5115 GB, free: 1.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.582e-05/0.1546, allocations: 87.27 kB / 0.5115 GB, free: 1.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1546, allocations: 0 / 0.5115 GB, free: 1.117 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.155, allocations: 27.89 kB / 0.5116 GB, free: 1.09 MB / 366.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 (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.0001147/0.1551, allocations: 99.19 kB / 0.5117 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.1553, allocations: 35.98 kB / 0.5117 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1553, allocations: 0 / 0.5117 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.1554, allocations: 23.88 kB / 0.5117 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.1559, allocations: 10.22 kB / 0.5117 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.1564, allocations: 174.2 kB / 0.5119 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.1565, allocations: 0.7025 MB / 0.5126 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.1566, allocations: 0 / 0.5126 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.1566, allocations: 11.44 kB / 0.5126 GB, free: 15.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1566, allocations: 0 / 0.5126 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Templates: time 0.004671/0.1613, allocations: 0.5172 MB / 0.5131 GB, free: 15.47 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.827266609296203]