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.001606/0.001606, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001722/0.001722, allocations: 215.2 kB / 20.1 MB, free: 3.051 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.107/0.107, allocations: 24.12 MB / 333.6 MB, free: 1.465 MB / 254.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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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.00204/0.00204, allocations: 65.53 kB / 469.7 MB, free: 30.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.0994, allocations: 59.57 MB / 0.5169 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003487/0.1029, allocations: 2.232 MB / 0.5191 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.1033, allocations: 171.4 kB / 0.5193 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.832e-05/0.1034, allocations: 4 kB / 0.5193 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.363e-05/0.1034, allocations: 31.72 kB / 0.5193 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.1036, allocations: 59.42 kB / 0.5193 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.1037, allocations: 51.92 kB / 0.5194 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.104, allocations: 250.8 kB / 0.5196 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.1042, allocations: 67.41 kB / 0.5197 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.1043, allocations: 87.77 kB / 0.5198 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.1044, allocations: 103.5 kB / 0.5199 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.1045, allocations: 20 kB / 0.5199 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.1045, allocations: 24 kB / 0.5199 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.1046, allocations: 47.84 kB / 0.52 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1047, allocations: 115.5 kB / 0.5201 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.105, allocations: 243 kB / 0.5203 GB, free: 7.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.105, allocations: 0 / 0.5203 GB, free: 7.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.105, allocations: 0 / 0.5203 GB, free: 7.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.105, allocations: 4 kB / 0.5203 GB, free: 7.543 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007024/0.1057, allocations: 495.1 kB / 0.5208 GB, free: 7.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1057, allocations: 12.62 kB / 0.5208 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.1058, allocations: 24.8 kB / 0.5208 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.1059, allocations: 188 kB / 0.521 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.106, allocations: 20.94 kB / 0.521 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.106, allocations: 20.38 kB / 0.521 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.1064, allocations: 205.5 kB / 0.5212 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1064, allocations: 192 / 0.5212 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.1064, allocations: 15.88 kB / 0.5213 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1064, allocations: 4 kB / 0.5213 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.1067, allocations: 154.1 kB / 0.5214 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1079, allocations: 0.9327 MB / 0.5223 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.1081, allocations: 146.7 kB / 0.5225 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.1085, allocations: 132.7 kB / 0.5226 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1085, allocations: 4 kB / 0.5226 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.1086, allocations: 38.5 kB / 0.5226 GB, free: 4.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.1086, allocations: 0 / 0.5226 GB, free: 4.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002161/0.1107, allocations: 0.6854 MB / 0.5233 GB, free: 4.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1108, allocations: 59.34 kB / 0.5233 GB, free: 4.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1109, allocations: 141.7 kB / 0.5235 GB, free: 3.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1109, allocations: 29.7 kB / 0.5235 GB, free: 3.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.111, allocations: 148.4 kB / 0.5237 GB, free: 3.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.1111, allocations: 75.38 kB / 0.5237 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.1112, allocations: 37.72 kB / 0.5238 GB, free: 3.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1113, allocations: 326.8 kB / 0.5241 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.1114, allocations: 47.97 kB / 0.5241 GB, free: 3.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1115, allocations: 79.34 kB / 0.5242 GB, free: 3.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.1117, allocations: 137.2 kB / 0.5243 GB, free: 3.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1117, allocations: 0 / 0.5243 GB, free: 3.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000785/0.1125, allocations: 326.9 kB / 0.5246 GB, free: 2.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1125, allocations: 4 kB / 0.5246 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1125, allocations: 0 / 0.5246 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/0.1132, allocations: 185.5 kB / 0.5248 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1134, allocations: 20 kB / 0.5248 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.1181, allocations: 3.847 MB / 0.5286 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.1181, allocations: 15.89 kB / 0.5286 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1182, allocations: 11.94 kB / 0.5286 GB, free: 14.39 MB / 398.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.0001453/0.1183, allocations: 136.1 kB / 0.5287 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.1183, allocations: 7.953 kB / 0.5288 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008127/0.1192, allocations: 312.8 kB / 0.5291 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1192, allocations: 4 kB / 0.5291 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1192, allocations: 0 / 0.5291 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1192, allocations: 3.984 kB / 0.5291 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.1195, allocations: 269.5 kB / 0.5293 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1195, allocations: 0 / 0.5293 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.1196, allocations: 15.98 kB / 0.5293 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/0.1202, allocations: 185.8 kB / 0.5295 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1202, allocations: 3.938 kB / 0.5295 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004403/0.1246, allocations: 3.808 MB / 0.5332 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1246, allocations: 3.938 kB / 0.5332 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.1254, allocations: 395.4 kB / 0.5336 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1255, allocations: 89 kB / 0.5337 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1255, allocations: 4 kB / 0.5337 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.1256, allocations: 8.109 kB / 0.5337 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1256, allocations: 23.92 kB / 0.5337 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1257, allocations: 4 kB / 0.5337 GB, free: 8.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.003e-05/0.1258, allocations: 103.2 kB / 0.5338 GB, free: 8.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1258, allocations: 0 / 0.5338 GB, free: 8.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.1263, allocations: 79.84 kB / 0.5339 GB, free: 8.574 MB / 398.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 0.0001241/0.1264, allocations: 99.19 kB / 0.534 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007421/0.1272, allocations: 417.1 kB / 0.5344 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1272, allocations: 0 / 0.5344 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005223/0.1277, allocations: 353.2 kB / 0.5347 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.128, allocations: 18.06 kB / 0.5348 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1295, allocations: 0.516 MB / 0.5353 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.1299, allocations: 0.7358 MB / 0.536 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.13, allocations: 11.44 kB / 0.536 GB, free: 6.328 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.13, allocations: 4 kB / 0.536 GB, free: 6.324 MB / 398.1 MB Notification: Performance of Templates: time 0.00611/0.1361, allocations: 3.404 MB / 0.5393 GB, free: 2.914 MB / 398.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 -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.216820315021323] Failed to read output from testmodel.py, exit status != 0: 0.14412347099278122 0.157914507 0.050039736 Calling exit ...