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.0007562/0.0007562, allocations: 84.44 kB / 20.71 MB, free: 3.848 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.0007302/0.0007302, allocations: 165.2 kB / 23.98 MB, free: 0.5742 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 0.8604/0.8604, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.05999/0.05999, allocations: 18.13 MB / 278.8 MB, free: 11.51 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.333e-06/1.333e-06, allocations: 0 / 416.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.785e-05, allocations: 3.125 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.001766/0.001794, allocations: 1.675 MB / 418 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001787/0.001973, allocations: 58.8 kB / 418.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.002013, allocations: 9.438 kB / 418.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.121e-05/0.002054, allocations: 16.17 kB / 418.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.002163, allocations: 22.33 kB / 418.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.128e-05/0.002204, allocations: 14.36 kB / 418.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.002287, allocations: 87.62 kB / 418.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.002398, allocations: 22.41 kB / 418.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.002429, allocations: 31.97 kB / 418.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.002508, allocations: 25.53 kB / 418.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.002531, allocations: 6.875 kB / 418.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.002542, allocations: 6.875 kB / 418.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.002561, allocations: 21.34 kB / 418.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.002588, allocations: 24.22 kB / 418.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.002695, allocations: 79.11 kB / 418.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.002697, allocations: 1.375 kB / 418.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.002698, allocations: 0.5156 kB / 418.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.002702, allocations: 0 / 418.4 MB, free: 11.15 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.000258/0.00296, allocations: 293.6 kB / 418.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.00299, allocations: 11.12 kB / 418.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.003016, allocations: 9.016 kB / 418.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.289e-05/0.003069, allocations: 121.7 kB / 418.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.003079, allocations: 12.69 kB / 418.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.003091, allocations: 9.875 kB / 418.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.003209, allocations: 94.31 kB / 419 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.003217, allocations: 1.375 kB / 419 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.003225, allocations: 0 / 419 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.00323, allocations: 2.75 kB / 419 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.0033, allocations: 53.31 kB / 419 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.003647, allocations: 295 kB / 419.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.658e-05/0.003724, allocations: 53.45 kB / 419.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.003752, allocations: 27 kB / 419.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.003766, allocations: 1.594 kB / 419.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.154e-05/0.003777, allocations: 32.44 kB / 419.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.003778, allocations: 0 / 419.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001311/0.003909, allocations: 80.72 kB / 419.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.003927, allocations: 54.58 kB / 419.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.956e-05/0.003967, allocations: 105.5 kB / 419.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-06/0.003971, allocations: 25.7 kB / 419.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.004001, allocations: 111.7 kB / 419.8 MB, free: 9.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.004013, allocations: 21.2 kB / 419.8 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.004043, allocations: 20.75 kB / 419.8 MB, free: 9.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.43e-05/0.004067, allocations: 321.8 kB / 420.1 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.004088, allocations: 18.09 kB / 420.2 MB, free: 9.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.004117, allocations: 36.8 kB / 420.2 MB, free: 9.531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.004167, allocations: 56.28 kB / 420.2 MB, free: 9.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.00417, allocations: 1.562 kB / 420.2 MB, free: 9.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.209e-05/0.004242, allocations: 85.86 kB / 420.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.004254, allocations: 5.344 kB / 420.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.004258, allocations: 1.75 kB / 420.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.004268, allocations: 5.5 kB / 420.3 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.00434, allocations: 16.92 kB / 420.4 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.004345, allocations: 5.25 kB / 420.4 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.004365, allocations: 10.19 kB / 420.4 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.00437, allocations: 3.234 kB / 420.4 MB, free: 9.418 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 3.594e-05/0.004406, allocations: 117.1 kB / 420.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.00442, allocations: 7.891 kB / 420.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.854e-05/0.004509, allocations: 76.39 kB / 420.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.00451, allocations: 1.5 kB / 420.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.004514, allocations: 9.516 kB / 420.6 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.004517, allocations: 0 / 420.6 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.686e-05/0.004594, allocations: 129.6 kB / 420.7 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.004594, allocations: 0 / 420.7 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.004624, allocations: 17.19 kB / 420.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-06/0.004625, allocations: 1.25 kB / 420.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.004631, allocations: 4.5 kB / 420.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004632, allocations: 1.375 kB / 420.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004633, allocations: 1.125 kB / 420.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.823e-05/0.004701, allocations: 177.5 kB / 420.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.004708, allocations: 10.2 kB / 420.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.004718, allocations: 2.375 kB / 420.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.004745, allocations: 0 / 420.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.004759, allocations: 4.594 kB / 420.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.004761, allocations: 2.219 kB / 420.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.62e-05/0.004778, allocations: 86.47 kB / 421 MB, free: 8.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004778, allocations: 0 / 421 MB, free: 8.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.004924, allocations: 21.33 kB / 421 MB, free: 8.836 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 5.373e-05/0.004978, allocations: 101.6 kB / 421.1 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.005063, allocations: 40 kB / 421.2 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.005064, allocations: 1.375 kB / 421.2 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.005084, allocations: 21.81 kB / 421.2 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.005267, allocations: 18.86 kB / 421.2 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.005519, allocations: 185.3 kB / 421.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.005557, allocations: 74.16 kB / 421.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.00558, allocations: 13.22 kB / 421.5 MB, free: 8.465 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005581, allocations: 64 / 421.5 MB, free: 8.465 MB / 330.7 MB Notification: Performance of Templates: time 0.001563/0.007144, allocations: 0.8703 MB / 422.3 MB, free: 8.398 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=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.170272906310856] Failed to read output from testmodel.py, exit status != 0: 0.011562199331820011 0.019219342 0.014870205000000001 Calling exit ...