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.000889/0.000889, allocations: 73.89 kB / 20.67 MB, free: 3.828 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.00103/0.00103, allocations: 177 kB / 24.08 MB, free: 428 kB / 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.069/1.069, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.08264/0.08264, allocations: 18.13 MB / 279.2 MB, free: 11.14 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.673e-06/1.673e-06, allocations: 0 / 357.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.573e-05, allocations: 6.312 kB / 357.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002287/0.002312, allocations: 1.739 MB / 359.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002424/0.002555, allocations: 67.73 kB / 359.6 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.002612, allocations: 4 kB / 359.6 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.002653, allocations: 3.938 kB / 359.6 MB, free: 6.742 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.002792, allocations: 23.78 kB / 359.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.644e-05/0.002848, allocations: 11.98 kB / 359.6 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.964e-05/0.002948, allocations: 87.58 kB / 359.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.003075, allocations: 24.22 kB / 359.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.003119, allocations: 27.91 kB / 359.8 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.003227, allocations: 23.97 kB / 359.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.003252, allocations: 12 kB / 359.8 MB, free: 6.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.003265, allocations: 4 kB / 359.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.003294, allocations: 23.91 kB / 359.8 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.003329, allocations: 27.88 kB / 359.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.003436, allocations: 55.75 kB / 359.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003438, allocations: 0 / 359.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003439, allocations: 0 / 359.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.003442, allocations: 4 kB / 359.9 MB, free: 6.418 MB / 330.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.0004006/0.003843, allocations: 392.6 kB / 360.3 MB, free: 5.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.003881, allocations: 12.92 kB / 360.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.003916, allocations: 24.88 kB / 360.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.003991, allocations: 124.5 kB / 360.4 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.004002, allocations: 8.562 kB / 360.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.004013, allocations: 8.375 kB / 360.5 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.004114, allocations: 66.73 kB / 360.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.004122, allocations: 0 / 360.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.004132, allocations: 11.97 kB / 360.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.004137, allocations: 0 / 360.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.004174, allocations: 26.98 kB / 360.6 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.004572, allocations: 328.2 kB / 360.9 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.004638, allocations: 54.98 kB / 360.9 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.00466, allocations: 19.72 kB / 361 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.004675, allocations: 0 / 361 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.004696, allocations: 41.45 kB / 361 MB, free: 5.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.004697, allocations: 0 / 361 MB, free: 5.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001253/0.004822, allocations: 57.64 kB / 361.1 MB, free: 5.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.004849, allocations: 55.41 kB / 361.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.004915, allocations: 170 kB / 361.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.004924, allocations: 29.7 kB / 361.3 MB, free: 4.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.00498, allocations: 158.9 kB / 361.5 MB, free: 4.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.004994, allocations: 23.8 kB / 361.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.005023, allocations: 27.38 kB / 361.5 MB, free: 4.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002497/0.005273, allocations: 0.4922 MB / 362 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.005288, allocations: 8 kB / 362 MB, free: 4.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.005317, allocations: 35.3 kB / 362 MB, free: 4.078 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.005364, allocations: 46.98 kB / 362.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.005367, allocations: 8 kB / 362.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.181e-05/0.005449, allocations: 77.56 kB / 362.2 MB, free: 3.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.00546, allocations: 8.062 kB / 362.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005465, allocations: 0 / 362.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.005476, allocations: 0 / 362.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.005546, allocations: 16 kB / 362.2 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.005548, allocations: 0 / 362.2 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.00557, allocations: 7.984 kB / 362.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.005574, allocations: 0 / 362.2 MB, free: 3.898 MB / 330.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 6.395e-05/0.005638, allocations: 172.4 kB / 362.4 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.005654, allocations: 7.953 kB / 362.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.005756, allocations: 66.11 kB / 362.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.00576, allocations: 7.984 kB / 362.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005762, allocations: 0 / 362.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005765, allocations: 0 / 362.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.005872, allocations: 113.2 kB / 362.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.005876, allocations: 3.938 kB / 362.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.005913, allocations: 12 kB / 362.6 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005915, allocations: 0 / 362.6 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.00592, allocations: 3.938 kB / 362.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.005921, allocations: 160 / 362.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005922, allocations: 0 / 362.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.006031, allocations: 219.9 kB / 362.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.006043, allocations: 7.922 kB / 362.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.006052, allocations: 4 kB / 362.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.761e-05/0.006079, allocations: 0 / 362.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.006092, allocations: 0 / 362.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006095, allocations: 7.938 kB / 362.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.006133, allocations: 131.2 kB / 362.9 MB, free: 3.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006133, allocations: 0 / 362.9 MB, free: 3.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.006289, allocations: 19.89 kB / 363 MB, free: 3.078 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 (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 7.649e-05/0.006365, allocations: 95.19 kB / 363.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.642e-05/0.006442, allocations: 47.66 kB / 363.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006443, allocations: 0 / 363.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.006461, allocations: 23.61 kB / 363.1 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.006638, allocations: 8.125 kB / 363.1 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.007066, allocations: 178.4 kB / 363.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.007102, allocations: 63.34 kB / 363.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.207e-05/0.007134, allocations: 12.11 kB / 363.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.007178, allocations: 70.2 kB / 363.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007179, allocations: 0 / 363.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of Templates: time 0.002091/0.00927, allocations: 0.4986 MB / 364 MB, free: 2.031 MB / 330.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.7893019821494818]