Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.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.00189/0.00189, allocations: 78.72 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001682/0.001682, allocations: 159.6 kB / 23.01 MB, free: 4.598 MB / 14.72 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 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.1295/0.1295, allocations: 17.8 MB / 277.6 MB, free: 15.39 MB / 270.1 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_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 67.88 kB / 415.4 MB, free: 3.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1217, allocations: 59.55 MB / 475 MB, free: 8.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003691/0.1254, allocations: 2.128 MB / 477.1 MB, free: 5.941 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004895/0.1259, allocations: 171.4 kB / 477.3 MB, free: 5.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.126, allocations: 7.938 kB / 477.3 MB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.1261, allocations: 23.72 kB / 477.3 MB, free: 5.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1263, allocations: 59.42 kB / 477.4 MB, free: 5.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.1265, allocations: 55.92 kB / 477.4 MB, free: 5.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.1268, allocations: 235 kB / 477.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.127, allocations: 76 kB / 477.7 MB, free: 5.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1271, allocations: 87.72 kB / 477.8 MB, free: 5.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1273, allocations: 91.48 kB / 477.9 MB, free: 5.145 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.1274, allocations: 23.98 kB / 477.9 MB, free: 5.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.419e-05/0.1274, allocations: 20 kB / 478 MB, free: 5.102 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.1275, allocations: 47.84 kB / 478 MB, free: 5.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1276, allocations: 91.59 kB / 478.1 MB, free: 4.965 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1279, allocations: 239 kB / 478.3 MB, free: 4.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1279, allocations: 3.984 kB / 478.3 MB, free: 4.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1279, allocations: 4 kB / 478.3 MB, free: 4.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1279, allocations: 4 kB / 478.3 MB, free: 4.719 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007046/0.1286, allocations: 417.9 kB / 478.7 MB, free: 4.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1286, allocations: 12.92 kB / 478.8 MB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.1287, allocations: 24.8 kB / 478.8 MB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1288, allocations: 134.2 kB / 478.9 MB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1289, allocations: 16.88 kB / 478.9 MB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.1289, allocations: 24.38 kB / 479 MB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.1292, allocations: 204.7 kB / 479.2 MB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1293, allocations: 192 / 479.2 MB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.1293, allocations: 11.94 kB / 479.2 MB, free: 3.828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.1293, allocations: 8 kB / 479.2 MB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.1295, allocations: 137.9 kB / 479.3 MB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/0.1305, allocations: 0.5228 MB / 479.8 MB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.1309, allocations: 157.9 kB / 480 MB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.1312, allocations: 136.7 kB / 480.1 MB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1312, allocations: 0 / 480.1 MB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1313, allocations: 38.56 kB / 480.2 MB, free: 2.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.1313, allocations: 4 kB / 480.2 MB, free: 2.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.002036/0.1333, allocations: 0.531 MB / 480.7 MB, free: 2.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1333, allocations: 67.33 kB / 480.8 MB, free: 2.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1335, allocations: 125.8 kB / 480.9 MB, free: 2.027 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1335, allocations: 29.7 kB / 480.9 MB, free: 1.992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1336, allocations: 148.3 kB / 481.1 MB, free: 1.844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.1337, allocations: 75.53 kB / 481.1 MB, free: 1.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.1338, allocations: 37.7 kB / 481.2 MB, free: 1.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1339, allocations: 326.8 kB / 481.5 MB, free: 1.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.983e-05/0.134, allocations: 43.98 kB / 481.5 MB, free: 1.355 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.1341, allocations: 87.28 kB / 481.6 MB, free: 1.258 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1343, allocations: 139.4 kB / 481.7 MB, free: 1.109 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1343, allocations: 0 / 481.7 MB, free: 1.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000769/0.1351, allocations: 329.7 kB / 482.1 MB, free: 0.7773 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1351, allocations: 8 kB / 482.1 MB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1351, allocations: 0 / 482.1 MB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/0.1359, allocations: 177.6 kB / 482.2 MB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.136, allocations: 23.92 kB / 482.3 MB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2555/0.3914, allocations: 3.551 MB / 485.8 MB, free: 49.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3915, allocations: 12.59 kB / 485.8 MB, free: 49.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3915, allocations: 3.312 kB / 485.8 MB, free: 49.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.3917, allocations: 137.8 kB / 486 MB, free: 49.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.3917, allocations: 17.66 kB / 486 MB, free: 49.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006474/0.3923, allocations: 307.9 kB / 486.3 MB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3923, allocations: 2.938 kB / 486.3 MB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.3923, allocations: 3.125 kB / 486.3 MB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3923, allocations: 3.156 kB / 486.3 MB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3925, allocations: 182.8 kB / 486.5 MB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3925, allocations: 3.281 kB / 486.5 MB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.3926, allocations: 16.88 kB / 486.5 MB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/0.3931, allocations: 178.8 kB / 486.7 MB, free: 49.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3931, allocations: 6.219 kB / 486.7 MB, free: 49.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.3959, allocations: 3.529 MB / 490.2 MB, free: 46.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3959, allocations: 5.969 kB / 490.2 MB, free: 46.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.3965, allocations: 396.9 kB / 490.6 MB, free: 46.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.3965, allocations: 11.2 kB / 490.6 MB, free: 46.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.3965, allocations: 13.86 kB / 490.6 MB, free: 46.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.3966, allocations: 3.812 kB / 490.6 MB, free: 46.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.3966, allocations: 14.89 kB / 490.6 MB, free: 46.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3966, allocations: 3.938 kB / 490.6 MB, free: 46.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.243e-05/0.3966, allocations: 104.9 kB / 490.8 MB, free: 46.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3966, allocations: 0 / 490.8 MB, free: 46.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004929/0.3971, allocations: 79.06 kB / 490.8 MB, free: 46.32 MB / 446.1 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 9.138e-05/0.3972, allocations: 103.1 kB / 490.9 MB, free: 46.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.3978, allocations: 408.9 kB / 491.3 MB, free: 45.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3978, allocations: 3.812 kB / 491.3 MB, free: 45.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.3981, allocations: 361.9 kB / 491.7 MB, free: 45.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3984, allocations: 14.33 kB / 491.7 MB, free: 45.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.3995, allocations: 490.5 kB / 492.2 MB, free: 45.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.067e-05/0.3996, allocations: 125.4 kB / 492.3 MB, free: 45.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.358e-05/0.3997, allocations: 5.031 kB / 492.3 MB, free: 45.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.3997, allocations: 15.5 kB / 492.3 MB, free: 45.34 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3997, allocations: 0 / 492.3 MB, free: 45.34 MB / 446.1 MB Notification: Performance of Templates: time 0.005582/0.4053, allocations: 2.668 MB / 495 MB, free: 45.1 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.986394056933932] Failed to read output from testmodel.py, exit status != 0: 0.4144450769526884 0.42311601400000004 0.29201920600000003 Calling exit ...