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.0009758/0.0009758, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00127/0.00127, allocations: 165 kB / 23.82 MB, free: 0.75 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.071/1.071, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.06754/0.06754, allocations: 18.14 MB / 278.9 MB, free: 11.32 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 2.044e-06/2.044e-06, allocations: 3.938 kB / 357.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.224e-05, allocations: 2.312 kB / 357.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.004427/0.00446, allocations: 1.754 MB / 359 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.004831, allocations: 63.73 kB / 359.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.004906, allocations: 0 / 359.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.825e-05/0.004974, allocations: 7.922 kB / 359.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.00519, allocations: 23.78 kB / 359.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.307e-05/0.005283, allocations: 19.97 kB / 359.2 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.005431, allocations: 79.66 kB / 359.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.005598, allocations: 28.2 kB / 359.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.00565, allocations: 27.92 kB / 359.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.00577, allocations: 23.91 kB / 359.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.005799, allocations: 8 kB / 359.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.005817, allocations: 8 kB / 359.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.005846, allocations: 15.92 kB / 359.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.005894, allocations: 27.91 kB / 359.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.006042, allocations: 59.77 kB / 359.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.006047, allocations: 3.938 kB / 359.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.006048, allocations: 0 / 359.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.006053, allocations: 4 kB / 359.4 MB, free: 5.637 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.0004803/0.006534, allocations: 396.6 kB / 359.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.00658, allocations: 12.92 kB / 359.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.006638, allocations: 16.89 kB / 359.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.00675, allocations: 124.5 kB / 360 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.006769, allocations: 8.562 kB / 360 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.006787, allocations: 4.375 kB / 360 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.006957, allocations: 78.72 kB / 360.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.006969, allocations: 0 / 360.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.006985, allocations: 8 kB / 360.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.006995, allocations: 4 kB / 360.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.00708, allocations: 31.97 kB / 360.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.007699, allocations: 347.6 kB / 360.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.007807, allocations: 50.98 kB / 360.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.007849, allocations: 19.75 kB / 360.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.007873, allocations: 4.031 kB / 360.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.007901, allocations: 41.38 kB / 360.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.007903, allocations: 0 / 360.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002106/0.008113, allocations: 65.64 kB / 360.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.008148, allocations: 55.41 kB / 360.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.008249, allocations: 169.9 kB / 360.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.008263, allocations: 25.7 kB / 360.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.008338, allocations: 154.9 kB / 361 MB, free: 3.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.008358, allocations: 23.8 kB / 361 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.008401, allocations: 23.38 kB / 361.1 MB, free: 3.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.008548, allocations: 0.4961 MB / 361.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.008576, allocations: 4 kB / 361.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.358e-05/0.008629, allocations: 47.03 kB / 361.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.354e-05/0.008713, allocations: 55 kB / 361.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.008715, allocations: 0 / 361.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000146/0.008861, allocations: 81.56 kB / 361.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.008879, allocations: 4 kB / 361.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008884, allocations: 0 / 361.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.008905, allocations: 7.938 kB / 361.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.009027, allocations: 12.5 kB / 361.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-05/0.009067, allocations: 0 / 361.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.009138, allocations: 7.984 kB / 361.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.009152, allocations: 8.062 kB / 361.8 MB, free: 3.059 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 8.641e-05/0.009238, allocations: 168.4 kB / 362 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.009267, allocations: 15.95 kB / 362 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.009428, allocations: 66.11 kB / 362 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.009431, allocations: 0 / 362 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.009435, allocations: 4 kB / 362 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.009438, allocations: 0 / 362 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.009553, allocations: 136.5 kB / 362.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009555, allocations: 0 / 362.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.00961, allocations: 15.98 kB / 362.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009613, allocations: 4 kB / 362.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.00962, allocations: 4 kB / 362.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.009622, allocations: 3.938 kB / 362.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009623, allocations: 0 / 362.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.009735, allocations: 216 kB / 362.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.009748, allocations: 4 kB / 362.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.00976, allocations: 0 / 362.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.009805, allocations: 0 / 362.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.009822, allocations: 7.984 kB / 362.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.009824, allocations: 0 / 362.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.632e-05/0.00986, allocations: 127.2 kB / 362.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00986, allocations: 8 kB / 362.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.01002, allocations: 19.89 kB / 362.6 MB, free: 2.203 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 8.405e-05/0.0101, allocations: 103.2 kB / 362.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.866e-05/0.0102, allocations: 43.66 kB / 362.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.0102, allocations: 0 / 362.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.009e-05/0.01022, allocations: 27.61 kB / 362.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01041, allocations: 7.938 kB / 362.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.01093, allocations: 182.5 kB / 362.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.01096, allocations: 62.34 kB / 363 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.522e-05/0.01099, allocations: 4 kB / 363 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.01102, allocations: 12.5 kB / 363 MB, free: 1.707 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01102, allocations: 3.938 kB / 363 MB, free: 1.703 MB / 282.7 MB Notification: Performance of Templates: time 0.002035/0.01305, allocations: 469.9 kB / 363.5 MB, free: 1.246 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: 3.032564913854003]