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.001895/0.001895, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.001914/0.001914, allocations: 161.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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.1158/0.1158, allocations: 18.13 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.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.933e-06/1.933e-06, allocations: 0 / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.304e-05, allocations: 6.312 kB / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003438/0.003471, allocations: 1.704 MB / 358.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002424/0.003713, allocations: 63.8 kB / 358.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.003765, allocations: 0 / 358.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.003813, allocations: 19.8 kB / 358.3 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.003951, allocations: 15.84 kB / 358.3 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.559e-05/0.004007, allocations: 15.98 kB / 358.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.004133, allocations: 83.59 kB / 358.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.004261, allocations: 24.2 kB / 358.5 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.004311, allocations: 27.92 kB / 358.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.004431, allocations: 27.91 kB / 358.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.004454, allocations: 4 kB / 358.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/0.004475, allocations: 12 kB / 358.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.004503, allocations: 19.92 kB / 358.5 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.004546, allocations: 23.97 kB / 358.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.004701, allocations: 83.69 kB / 358.7 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004703, allocations: 0 / 358.7 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004704, allocations: 0 / 358.7 MB, free: 6.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.004709, allocations: 0 / 358.7 MB, free: 6.055 MB / 282.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.0005362/0.005245, allocations: 400.3 kB / 359 MB, free: 5.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.005293, allocations: 12.92 kB / 359.1 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.005353, allocations: 24.83 kB / 359.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.005482, allocations: 128.5 kB / 359.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.005499, allocations: 8.562 kB / 359.2 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.005514, allocations: 4.375 kB / 359.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.005715, allocations: 93.36 kB / 359.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.005724, allocations: 7.875 kB / 359.3 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.005738, allocations: 4 kB / 359.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.005744, allocations: 4 kB / 359.3 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.005859, allocations: 47.97 kB / 359.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.006516, allocations: 363.6 kB / 359.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.006654, allocations: 63.06 kB / 359.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.006704, allocations: 23.78 kB / 359.8 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.006727, allocations: 4 kB / 359.8 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.006762, allocations: 37.33 kB / 359.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006763, allocations: 0 / 359.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002238/0.006987, allocations: 77.64 kB / 359.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.007041, allocations: 55.41 kB / 360 MB, free: 4.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.007187, allocations: 165.9 kB / 360.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.00721, allocations: 29.7 kB / 360.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.007322, allocations: 162.9 kB / 360.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.007342, allocations: 19.8 kB / 360.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.0074, allocations: 35.36 kB / 360.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.007667, allocations: 0.4922 MB / 360.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.007703, allocations: 11.98 kB / 360.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.007767, allocations: 47 kB / 360.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.007869, allocations: 59.05 kB / 361 MB, free: 3.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00787, allocations: 0 / 361 MB, free: 3.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001525/0.008023, allocations: 89.58 kB / 361.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.008037, allocations: 8.062 kB / 361.1 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.008041, allocations: 3.938 kB / 361.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.008053, allocations: 4 kB / 361.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.008178, allocations: 15.98 kB / 361.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.008187, allocations: 4 kB / 361.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.008223, allocations: 0.5 kB / 361.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.008232, allocations: 4 kB / 361.1 MB, free: 3.359 MB / 282.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 0.0001337/0.008366, allocations: 168.5 kB / 361.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.008397, allocations: 7.953 kB / 361.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.008589, allocations: 90.03 kB / 361.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.008591, allocations: 0 / 361.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.008598, allocations: 4 kB / 361.4 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.008604, allocations: 7.922 kB / 361.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.008814, allocations: 148.5 kB / 361.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.008818, allocations: 4 kB / 361.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.008884, allocations: 8 kB / 361.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.008886, allocations: 0 / 361.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.008894, allocations: 4 kB / 361.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008895, allocations: 0 / 361.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008896, allocations: 0 / 361.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.009138, allocations: 235.9 kB / 361.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.00915, allocations: 4 kB / 361.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.009168, allocations: 4 kB / 361.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.522e-05/0.009223, allocations: 0 / 361.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.009249, allocations: 4 kB / 361.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.009253, allocations: 0 / 361.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.637e-05/0.009339, allocations: 131.2 kB / 361.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009339, allocations: 0 / 361.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.009571, allocations: 19.95 kB / 361.9 MB, free: 2.465 MB / 282.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.0001288/0.009699, allocations: 95.25 kB / 362 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.009856, allocations: 59.59 kB / 362.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009857, allocations: 0 / 362.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.009905, allocations: 27.67 kB / 362.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.01017, allocations: 13.66 kB / 362.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.0106, allocations: 182.2 kB / 362.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.396e-05/0.01068, allocations: 75.33 kB / 362.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.886e-05/0.01072, allocations: 12.11 kB / 362.4 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.01076, allocations: 12.5 kB / 362.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01076, allocations: 0 / 362.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of Templates: time 0.003306/0.01406, allocations: 464 kB / 362.9 MB, free: 1.484 MB / 282.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: 4.573395141051151]