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.001954/0.001954, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.002336/0.002336, allocations: 154.9 kB / 23.01 MB, free: 4.961 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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.98 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.1015/0.1015, allocations: 17.8 MB / 277.6 MB, free: 15.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.002089/0.002089, allocations: 67.91 kB / 414.7 MB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1138, allocations: 59.56 MB / 474.2 MB, free: 8.812 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003025/0.1169, allocations: 1.689 MB / 475.9 MB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000191/0.117, allocations: 55.81 kB / 476 MB, free: 7.059 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.1171, allocations: 0 / 476 MB, free: 7.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.1171, allocations: 11.86 kB / 476 MB, free: 7.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1172, allocations: 23.78 kB / 476 MB, free: 7.023 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.011e-05/0.1173, allocations: 19.98 kB / 476 MB, free: 7.004 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.1174, allocations: 75.72 kB / 476.1 MB, free: 6.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1175, allocations: 28.14 kB / 476.1 MB, free: 6.898 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.1176, allocations: 27.92 kB / 476.1 MB, free: 6.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.1177, allocations: 31.84 kB / 476.2 MB, free: 6.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1177, allocations: 8 kB / 476.2 MB, free: 6.832 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.784e-05/0.1177, allocations: 8 kB / 476.2 MB, free: 6.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.1177, allocations: 11.94 kB / 476.2 MB, free: 6.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.1178, allocations: 31.86 kB / 476.2 MB, free: 6.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.1179, allocations: 83.69 kB / 476.3 MB, free: 6.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1179, allocations: 0 / 476.3 MB, free: 6.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1179, allocations: 4 kB / 476.3 MB, free: 6.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1179, allocations: 0 / 476.3 MB, free: 6.695 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003975/0.1183, allocations: 298.3 kB / 476.6 MB, free: 6.371 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1183, allocations: 12.92 kB / 476.6 MB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.1184, allocations: 8.891 kB / 476.6 MB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1185, allocations: 114.4 kB / 476.7 MB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1185, allocations: 8.562 kB / 476.7 MB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.1185, allocations: 4.375 kB / 476.8 MB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1187, allocations: 97.91 kB / 476.8 MB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1187, allocations: 4 kB / 476.9 MB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1187, allocations: 7.938 kB / 476.9 MB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1187, allocations: 0 / 476.9 MB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.1188, allocations: 51.97 kB / 476.9 MB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.1193, allocations: 300.3 kB / 477.2 MB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1194, allocations: 54.56 kB / 477.3 MB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.1195, allocations: 24.95 kB / 477.3 MB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.1195, allocations: 0 / 477.3 MB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1195, allocations: 34.55 kB / 477.3 MB, free: 5.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1195, allocations: 8 kB / 477.3 MB, free: 5.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001817/0.1197, allocations: 69.81 kB / 477.4 MB, free: 5.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1197, allocations: 51.41 kB / 477.4 MB, free: 5.438 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.1198, allocations: 129.7 kB / 477.6 MB, free: 5.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1198, allocations: 25.7 kB / 477.6 MB, free: 5.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.1199, allocations: 108.2 kB / 477.7 MB, free: 5.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.1199, allocations: 11.86 kB / 477.7 MB, free: 5.148 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.12, allocations: 33.64 kB / 477.7 MB, free: 5.109 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1201, allocations: 310.8 kB / 478 MB, free: 4.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.1201, allocations: 12 kB / 478.1 MB, free: 4.785 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.853e-05/0.1202, allocations: 42.5 kB / 478.1 MB, free: 4.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.1203, allocations: 58.56 kB / 478.2 MB, free: 4.668 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1203, allocations: 4 kB / 478.2 MB, free: 4.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001201/0.1204, allocations: 73.62 kB / 478.2 MB, free: 4.586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1204, allocations: 8 kB / 478.2 MB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1204, allocations: 0 / 478.2 MB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1204, allocations: 0 / 478.2 MB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1205, allocations: 23.92 kB / 478.3 MB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1205, allocations: 0 / 478.3 MB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.1206, allocations: 23.89 kB / 478.3 MB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1206, allocations: 0 / 478.3 MB, free: 4.531 MB / 446.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 8.265e-05/0.1207, allocations: 113.8 kB / 478.4 MB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1207, allocations: 4 kB / 478.4 MB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.1208, allocations: 90.09 kB / 478.5 MB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1208, allocations: 0 / 478.5 MB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1208, allocations: 3.938 kB / 478.5 MB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1208, allocations: 3.938 kB / 478.5 MB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.121, allocations: 121.3 kB / 478.6 MB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.121, allocations: 8 kB / 478.6 MB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.1211, allocations: 11.98 kB / 478.6 MB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1211, allocations: 4 kB / 478.6 MB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1211, allocations: 0 / 478.6 MB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1211, allocations: 0 / 478.6 MB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1211, allocations: 0 / 478.6 MB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.1212, allocations: 167.5 kB / 478.8 MB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.1212, allocations: 11.89 kB / 478.8 MB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1213, allocations: 7.922 kB / 478.8 MB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.1213, allocations: 0 / 478.8 MB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.1213, allocations: 4 kB / 478.8 MB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1213, allocations: 8.25 kB / 478.8 MB, free: 3.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.1214, allocations: 95.2 kB / 478.9 MB, free: 3.824 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1214, allocations: 0 / 478.9 MB, free: 3.824 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.1216, allocations: 16 kB / 478.9 MB, free: 3.809 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 (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 8.745e-05/0.1217, allocations: 95.38 kB / 479 MB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1218, allocations: 43.92 kB / 479.1 MB, free: 3.664 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1218, allocations: 3.938 kB / 479.1 MB, free: 3.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.1218, allocations: 16 kB / 479.1 MB, free: 3.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1221, allocations: 11.08 kB / 479.1 MB, free: 3.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.1224, allocations: 166.7 kB / 479.3 MB, free: 3.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.082e-05/0.1225, allocations: 83.2 kB / 479.4 MB, free: 3.348 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.075e-05/0.1225, allocations: 4 kB / 479.4 MB, free: 3.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.1226, allocations: 20.5 kB / 479.4 MB, free: 3.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1226, allocations: 0 / 479.4 MB, free: 3.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002475/0.125, allocations: 441.4 kB / 479.8 MB, free: 2.898 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.709736771997996] Failed to read output from testmodel.py, exit status != 0: 0.13371113000903279 0.31440009500000005 0.193850777 Calling exit ...