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.002017/0.002017, allocations: 96.41 kB / 20.47 MB, free: 1.234 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.002519/0.002519, allocations: 221.6 kB / 23.77 MB, free: 4.414 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1106/0.1106, allocations: 24.04 MB / 338 MB, free: 11.35 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.002195/0.002195, allocations: 67.89 kB / 475.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3384, allocations: 59.57 MB / 0.5221 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002676/0.3411, allocations: 1.677 MB / 0.5238 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002245/0.3413, allocations: 58.53 kB / 0.5238 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.3413, allocations: 2.562 kB / 0.5238 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.328e-05/0.3414, allocations: 11.02 kB / 0.5238 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.3415, allocations: 26.56 kB / 0.5239 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.608e-05/0.3416, allocations: 19.2 kB / 0.5239 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3417, allocations: 79.98 kB / 0.524 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3419, allocations: 25.27 kB / 0.524 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.3419, allocations: 32.09 kB / 0.524 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.342, allocations: 29.73 kB / 0.524 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.342, allocations: 6.594 kB / 0.524 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.342, allocations: 10.69 kB / 0.5241 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.3421, allocations: 12.86 kB / 0.5241 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.3421, allocations: 31.58 kB / 0.5241 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.3422, allocations: 85.11 kB / 0.5242 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3422, allocations: 0 / 0.5242 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3422, allocations: 4 kB / 0.5242 GB, free: 9.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.3422, allocations: 3.938 kB / 0.5242 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.0003986/0.3426, allocations: 303.2 kB / 0.5245 GB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3427, allocations: 10.45 kB / 0.5245 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.3427, allocations: 9.297 kB / 0.5245 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.846e-05/0.3428, allocations: 111.1 kB / 0.5246 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3428, allocations: 8 kB / 0.5246 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3428, allocations: 10.77 kB / 0.5246 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.343, allocations: 95.44 kB / 0.5247 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.343, allocations: 4 kB / 0.5247 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.343, allocations: 4.969 kB / 0.5247 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.343, allocations: 3.281 kB / 0.5247 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3431, allocations: 49.95 kB / 0.5248 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.3436, allocations: 298.3 kB / 0.5251 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3437, allocations: 51.91 kB / 0.5251 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.3438, allocations: 19.88 kB / 0.5251 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3438, allocations: 5.031 kB / 0.5251 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.3438, allocations: 32.14 kB / 0.5252 GB, free: 8.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3438, allocations: 7.938 kB / 0.5252 GB, free: 8.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001873/0.344, allocations: 72.92 kB / 0.5252 GB, free: 8.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.344, allocations: 52.97 kB / 0.5253 GB, free: 8.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.3441, allocations: 113.3 kB / 0.5254 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.3441, allocations: 25.7 kB / 0.5254 GB, free: 7.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.3441, allocations: 109.3 kB / 0.5255 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.3441, allocations: 20.5 kB / 0.5255 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3442, allocations: 25.12 kB / 0.5256 GB, free: 7.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.3442, allocations: 314.1 kB / 0.5259 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.3442, allocations: 13.7 kB / 0.5259 GB, free: 7.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.941e-05/0.3443, allocations: 45.45 kB / 0.5259 GB, free: 7.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.741e-05/0.3443, allocations: 55.56 kB / 0.526 GB, free: 7.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3443, allocations: 0 / 0.526 GB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001148/0.3445, allocations: 87.17 kB / 0.5261 GB, free: 7.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3445, allocations: 5 kB / 0.5261 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3445, allocations: 1.531 kB / 0.5261 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3445, allocations: 0.7031 kB / 0.5261 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3446, allocations: 21.58 kB / 0.5261 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3446, allocations: 1.156 kB / 0.5261 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.3446, allocations: 13.3 kB / 0.5261 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.3447, allocations: 3.375 kB / 0.5261 GB, free: 7.336 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.284e-05/0.3447, allocations: 119.4 kB / 0.5262 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.3447, allocations: 1.906 kB / 0.5262 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.3449, allocations: 83.66 kB / 0.5263 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3449, allocations: 0.9062 kB / 0.5263 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3449, allocations: 1.469 kB / 0.5263 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3449, allocations: 4.875 kB / 0.5263 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.345, allocations: 124.7 kB / 0.5264 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.345, allocations: 4.797 kB / 0.5264 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.3451, allocations: 13.25 kB / 0.5264 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3451, allocations: 0 / 0.5264 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3451, allocations: 0.875 kB / 0.5264 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3451, allocations: 1.516 kB / 0.5264 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3451, allocations: 0 / 0.5264 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.3452, allocations: 178 kB / 0.5266 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.3452, allocations: 7.641 kB / 0.5266 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3452, allocations: 1.312 kB / 0.5266 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/0.3453, allocations: 0.75 kB / 0.5266 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3453, allocations: 8.516 kB / 0.5266 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3453, allocations: 6.219 kB / 0.5266 GB, free: 6.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.3453, allocations: 90.23 kB / 0.5267 GB, free: 6.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3453, allocations: 0 / 0.5267 GB, free: 6.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000236/0.3456, allocations: 17.44 kB / 0.5267 GB, free: 6.758 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 6.461e-05/0.3456, allocations: 97.94 kB / 0.5268 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.3457, allocations: 40.38 kB / 0.5269 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3457, allocations: 0 / 0.5269 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.3458, allocations: 21.31 kB / 0.5269 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3461, allocations: 15.73 kB / 0.5269 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.3464, allocations: 206.4 kB / 0.5271 GB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.362e-05/0.3465, allocations: 83.03 kB / 0.5272 GB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.3465, allocations: 12.94 kB / 0.5272 GB, free: 6.367 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3465, allocations: 0 / 0.5272 GB, free: 6.367 MB / 382.1 MB Notification: Performance of Templates: time 0.002454/0.349, allocations: 0.8622 MB / 0.528 GB, free: 6.297 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.035359555855393] Failed to read output from testmodel.py, exit status != 0: 0.35721318796277046 0.36943891599999995 0.024137714 Calling exit ...