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.001181/0.001181, allocations: 87.56 kB / 20.97 MB, free: 3.574 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.001071/0.001071, allocations: 173 kB / 24.27 MB, free: 276 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.086/1.086, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.08037/0.08037, allocations: 18.15 MB / 279.2 MB, free: 11.39 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.853e-06/1.853e-06, allocations: 0 / 357.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.567e-05/3.752e-05, allocations: 2.312 kB / 357.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002661/0.002699, allocations: 1.742 MB / 359 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.002941, allocations: 59.73 kB / 359.1 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.002991, allocations: 4 kB / 359.1 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.003039, allocations: 7.922 kB / 359.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.003201, allocations: 23.8 kB / 359.1 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.219e-05/0.003253, allocations: 23.95 kB / 359.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.003371, allocations: 79.59 kB / 359.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.003497, allocations: 28.2 kB / 359.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.003533, allocations: 20 kB / 359.2 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.00364, allocations: 27.91 kB / 359.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.003669, allocations: 8 kB / 359.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.003681, allocations: 4 kB / 359.3 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.003706, allocations: 23.91 kB / 359.3 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.003746, allocations: 27.86 kB / 359.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.003867, allocations: 59.77 kB / 359.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00387, allocations: 0 / 359.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003871, allocations: 4 kB / 359.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.003876, allocations: 0 / 359.4 MB, free: 6.039 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.0004846/0.00436, allocations: 396.6 kB / 359.8 MB, free: 5.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.004404, allocations: 12.92 kB / 359.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.004452, allocations: 16.89 kB / 359.8 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.004556, allocations: 124.5 kB / 359.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.004571, allocations: 8.562 kB / 359.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.004585, allocations: 4.375 kB / 359.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.004745, allocations: 85.34 kB / 360 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.004753, allocations: 0 / 360 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.004766, allocations: 4 kB / 360 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.004776, allocations: 4 kB / 360 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.782e-05/0.004834, allocations: 27.98 kB / 360.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.005344, allocations: 351.6 kB / 360.4 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.627e-05/0.005431, allocations: 54.98 kB / 360.5 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.005464, allocations: 19.75 kB / 360.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.005483, allocations: 0 / 360.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.005507, allocations: 45.42 kB / 360.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.005508, allocations: 0 / 360.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001647/0.005673, allocations: 61.64 kB / 360.6 MB, free: 4.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.005702, allocations: 55.41 kB / 360.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/0.005785, allocations: 169.9 kB / 360.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.00584, allocations: 25.7 kB / 360.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.005905, allocations: 150.9 kB / 361 MB, free: 4.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.005921, allocations: 27.78 kB / 361 MB, free: 4.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.00595, allocations: 23.38 kB / 361 MB, free: 4.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.006072, allocations: 0.4961 MB / 361.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.006091, allocations: 4 kB / 361.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.006127, allocations: 47.05 kB / 361.6 MB, free: 3.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.006187, allocations: 54.94 kB / 361.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006188, allocations: 0 / 361.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.074e-05/0.006279, allocations: 81.55 kB / 361.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.006291, allocations: 8 kB / 361.7 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.006296, allocations: 0.5 kB / 361.7 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.006307, allocations: 0 / 361.7 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.006393, allocations: 16 kB / 361.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.006399, allocations: 4.062 kB / 361.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.006422, allocations: 8 kB / 361.7 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.006427, allocations: 3.984 kB / 361.7 MB, free: 3.461 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 7.299e-05/0.0065, allocations: 172.4 kB / 361.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.006517, allocations: 7.953 kB / 361.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.006634, allocations: 66.12 kB / 362 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.006636, allocations: 0 / 362 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.00664, allocations: 3.984 kB / 362 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.006644, allocations: 0 / 362 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.006754, allocations: 144.5 kB / 362.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.006757, allocations: 3.984 kB / 362.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.006794, allocations: 11.98 kB / 362.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.006797, allocations: 4 kB / 362.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.006805, allocations: 3.938 kB / 362.1 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006806, allocations: 0 / 362.1 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006807, allocations: 0 / 362.1 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.00693, allocations: 216 kB / 362.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.006941, allocations: 8 kB / 362.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.006951, allocations: 0 / 362.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/0.006978, allocations: 0 / 362.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.006996, allocations: 11.98 kB / 362.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.006999, allocations: 0 / 362.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.007038, allocations: 127.2 kB / 362.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007038, allocations: 0 / 362.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.007192, allocations: 23.89 kB / 362.5 MB, free: 2.602 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.0001573/0.007349, allocations: 99.17 kB / 362.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.311e-05/0.007442, allocations: 39.67 kB / 362.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007444, allocations: 0 / 362.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.995e-05/0.007464, allocations: 23.62 kB / 362.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.007652, allocations: 23.98 kB / 362.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.008192, allocations: 178.4 kB / 362.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.008232, allocations: 59.34 kB / 362.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.2e-05/0.008264, allocations: 4 kB / 362.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.008294, allocations: 20.5 kB / 363 MB, free: 2.098 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.008295, allocations: 0 / 363 MB, free: 2.098 MB / 282.7 MB Notification: Performance of Templates: time 0.002085/0.01038, allocations: 472.3 kB / 363.4 MB, free: 1.645 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: 2.8560914678964764]