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.001304/0.001304, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00153/0.00153, allocations: 211.5 kB / 23.01 MB, free: 4.566 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.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.1093/0.1093, allocations: 24.13 MB / 337.3 MB, free: 11.45 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_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: 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.002048/0.002048, allocations: 71.84 kB / 474.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3415, allocations: 59.59 MB / 0.5216 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002831/0.3443, allocations: 1.722 MB / 0.5233 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.3445, allocations: 58.2 kB / 0.5234 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.3446, allocations: 6.375 kB / 0.5234 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.488e-05/0.3446, allocations: 10.55 kB / 0.5234 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.3448, allocations: 22.08 kB / 0.5234 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.545e-05/0.3448, allocations: 16.03 kB / 0.5234 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3449, allocations: 76.23 kB / 0.5235 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3451, allocations: 32.8 kB / 0.5235 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.3451, allocations: 36.23 kB / 0.5236 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.3452, allocations: 32.53 kB / 0.5236 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3452, allocations: 6.875 kB / 0.5236 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.83e-05/0.3452, allocations: 7.781 kB / 0.5236 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.3453, allocations: 17.38 kB / 0.5236 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.3453, allocations: 34.22 kB / 0.5237 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.3455, allocations: 84.83 kB / 0.5237 GB, free: 9.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3455, allocations: 0.6562 kB / 0.5237 GB, free: 9.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3455, allocations: 0 / 0.5237 GB, free: 9.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3455, allocations: 4 kB / 0.5237 GB, free: 9.066 MB / 382.1 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.0003987/0.3459, allocations: 298.8 kB / 0.524 GB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3459, allocations: 13.45 kB / 0.524 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.3459, allocations: 9.609 kB / 0.524 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.007e-05/0.346, allocations: 116.1 kB / 0.5242 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.346, allocations: 4.719 kB / 0.5242 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.3461, allocations: 9.969 kB / 0.5242 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3462, allocations: 88.44 kB / 0.5243 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3462, allocations: 11.92 kB / 0.5243 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3463, allocations: 5.906 kB / 0.5243 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3463, allocations: 2.125 kB / 0.5243 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3464, allocations: 50.31 kB / 0.5243 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.3469, allocations: 416.2 kB / 0.5247 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.347, allocations: 59.58 kB / 0.5248 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.3471, allocations: 23.66 kB / 0.5248 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3471, allocations: 0.75 kB / 0.5248 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.3471, allocations: 32.25 kB / 0.5248 GB, free: 8.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3471, allocations: 0 / 0.5248 GB, free: 8.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002029/0.3473, allocations: 76.23 kB / 0.5249 GB, free: 8.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.3473, allocations: 57.16 kB / 0.525 GB, free: 7.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.3474, allocations: 105.6 kB / 0.5251 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.3474, allocations: 25.7 kB / 0.5251 GB, free: 7.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.3474, allocations: 116.6 kB / 0.5252 GB, free: 7.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3475, allocations: 23.17 kB / 0.5252 GB, free: 7.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3475, allocations: 26.14 kB / 0.5252 GB, free: 7.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.3475, allocations: 317.4 kB / 0.5255 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.3476, allocations: 14.08 kB / 0.5256 GB, free: 7.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.201e-05/0.3476, allocations: 35.59 kB / 0.5256 GB, free: 7.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.184e-05/0.3477, allocations: 56.09 kB / 0.5256 GB, free: 7.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3477, allocations: 0.5156 kB / 0.5256 GB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001146/0.3478, allocations: 82.23 kB / 0.5257 GB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3478, allocations: 5.156 kB / 0.5257 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3478, allocations: 3.281 kB / 0.5257 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3478, allocations: 0 / 0.5257 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.348, allocations: 24.42 kB / 0.5258 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.348, allocations: 9.594 kB / 0.5258 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.348, allocations: 2.312 kB / 0.5258 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.348, allocations: 2.531 kB / 0.5258 GB, free: 7.199 MB / 382.1 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 5.559e-05/0.3481, allocations: 115.5 kB / 0.5259 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.3481, allocations: 5.047 kB / 0.5259 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.3482, allocations: 84.2 kB / 0.526 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3482, allocations: 1.281 kB / 0.526 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3482, allocations: 3.938 kB / 0.526 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3482, allocations: 5.969 kB / 0.526 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.3484, allocations: 157.1 kB / 0.5261 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3484, allocations: 0 / 0.5261 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.3484, allocations: 18.28 kB / 0.5261 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3484, allocations: 1.062 kB / 0.5261 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3485, allocations: 0.5 kB / 0.5261 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3485, allocations: 0.9375 kB / 0.5261 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3485, allocations: 4.734 kB / 0.5262 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.3486, allocations: 177.3 kB / 0.5263 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.3486, allocations: 3.297 kB / 0.5263 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.3486, allocations: 0.6562 kB / 0.5263 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.3487, allocations: 5.406 kB / 0.5263 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.3487, allocations: 7.703 kB / 0.5263 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3487, allocations: 1.25 kB / 0.5263 GB, free: 6.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.704e-05/0.3487, allocations: 86.61 kB / 0.5264 GB, free: 6.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3487, allocations: 192 / 0.5264 GB, free: 6.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.3489, allocations: 16.98 kB / 0.5264 GB, free: 6.586 MB / 382.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 (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.509e-05/0.349, allocations: 109.9 kB / 0.5265 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.3492, allocations: 49.78 kB / 0.5266 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3492, allocations: 0 / 0.5266 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.3492, allocations: 16.28 kB / 0.5266 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.3495, allocations: 5.531 kB / 0.5266 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.3498, allocations: 214.9 kB / 0.5268 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.35, allocations: 0.6972 MB / 0.5275 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.35, allocations: 11.22 kB / 0.5275 GB, free: 5.562 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.35, allocations: 1.062 kB / 0.5275 GB, free: 5.562 MB / 382.1 MB Notification: Performance of Templates: time 0.002482/0.3525, allocations: 0.8367 MB / 0.5283 GB, free: 5.488 MB / 382.1 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: 7.197990889195353] Failed to read output from testmodel.py, exit status != 0: 0.3613562050741166 0.374428213 0.025842211 Calling exit ...