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.0007735/0.0007735, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009712/0.001745, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006816/0.0006816, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009383/0.00162, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09259/1.113, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] 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.06245/0.06245, allocations: 18.12 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01196/0.07441, allocations: 6.785 MB / 269.1 MB, free: 6.23 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 3.938 kB / 270.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.624e-05, allocations: 2.312 kB / 270.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002733/0.00276, allocations: 2.3 MB / 272.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002905/0.00305, allocations: 179.2 kB / 273 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.003102, allocations: 8 kB / 273 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.067e-05/0.003163, allocations: 35.64 kB / 273.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.029e-05/0.003253, allocations: 59.42 kB / 273.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.214e-05/0.003345, allocations: 51.92 kB / 273.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.003518, allocations: 246.8 kB / 273.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.003658, allocations: 86.55 kB / 273.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003774, allocations: 139.7 kB / 273.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.003897, allocations: 79.77 kB / 273.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.003927, allocations: 28 kB / 273.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.549e-05/0.003952, allocations: 20 kB / 273.8 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.003984, allocations: 35.88 kB / 273.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.004035, allocations: 67.88 kB / 273.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.004193, allocations: 135.5 kB / 274 MB, free: 1.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.004202, allocations: 0 / 274 MB, free: 1.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004203, allocations: 0 / 274 MB, free: 1.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.004211, allocations: 0 / 274 MB, free: 1.27 MB / 266.7 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.0004504/0.004662, allocations: 452.2 kB / 274.4 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.004694, allocations: 12.02 kB / 274.4 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.004738, allocations: 36.92 kB / 274.5 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.004847, allocations: 129.5 kB / 274.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.004862, allocations: 16.86 kB / 274.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.004884, allocations: 24.38 kB / 274.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.00504, allocations: 144.6 kB / 274.8 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.005049, allocations: 192 / 274.8 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.005064, allocations: 12.38 kB / 274.8 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.00507, allocations: 4.375 kB / 274.8 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.00514, allocations: 59.41 kB / 274.9 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1198/0.1249, allocations: 431.7 kB / 275.3 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.1252, allocations: 109.4 kB / 275.4 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1254, allocations: 105.1 kB / 275.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1254, allocations: 3.875 kB / 275.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1254, allocations: 36.19 kB / 275.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 3.617e-06/0.1254, allocations: 0.8438 kB / 275.5 MB, free: 3.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008788/0.1263, allocations: 408.1 kB / 275.9 MB, free: 3.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.1263, allocations: 55.89 kB / 276 MB, free: 3.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.1264, allocations: 137.3 kB / 276.1 MB, free: 3.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.1264, allocations: 29.58 kB / 276.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.1264, allocations: 147.4 kB / 276.3 MB, free: 3.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.1265, allocations: 73.48 kB / 276.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.1265, allocations: 41.8 kB / 276.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.734e-05/0.1265, allocations: 328.8 kB / 276.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.1266, allocations: 18.88 kB / 276.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.1266, allocations: 52.17 kB / 276.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.1267, allocations: 91.77 kB / 276.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1267, allocations: 0 / 276.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003458/0.127, allocations: 229 kB / 277.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1271, allocations: 10.5 kB / 277.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1271, allocations: 1.094 kB / 277.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/0.1275, allocations: 203.6 kB / 277.3 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.1276, allocations: 27.91 kB / 277.3 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.1295, allocations: 3.08 MB / 280.4 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.1295, allocations: 20.72 kB / 280.4 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.1295, allocations: 3.562 kB / 280.4 MB, free: 16.23 MB / 282.7 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 7.303e-05/0.1296, allocations: 118.6 kB / 280.6 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1296, allocations: 16.75 kB / 280.6 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.1299, allocations: 225.6 kB / 280.8 MB, free: 16.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1299, allocations: 6.656 kB / 280.8 MB, free: 16.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1299, allocations: 0 / 280.8 MB, free: 16.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1299, allocations: 2.359 kB / 280.8 MB, free: 16.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1301, allocations: 125.6 kB / 280.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1301, allocations: 1.094 kB / 280.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.1301, allocations: 21.67 kB / 281 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.1301, allocations: 13.16 kB / 281 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000369/0.1305, allocations: 204.2 kB / 281.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1305, allocations: 0.6562 kB / 281.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.1321, allocations: 3.021 MB / 284.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1321, allocations: 5.062 kB / 284.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1324, allocations: 307.3 kB / 284.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.1324, allocations: 7.734 kB / 284.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/0.1325, allocations: 3.719 kB / 284.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1325, allocations: 19.22 kB / 284.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.1325, allocations: 2.75 kB / 284.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.1326, allocations: 30.34 kB / 284.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1326, allocations: 0 / 284.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.1329, allocations: 73.08 kB / 284.6 MB, free: 13.23 MB / 282.7 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.0001043/0.133, allocations: 90.78 kB / 284.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.1334, allocations: 392.5 kB / 285.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.1334, allocations: 3.031 kB / 285.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.1336, allocations: 355.8 kB / 285.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.1338, allocations: 34.44 kB / 285.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.1362, allocations: 454.8 kB / 285.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.514e-05/0.1363, allocations: 82.77 kB / 286 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.1363, allocations: 9.812 kB / 286 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.1363, allocations: 62.25 kB / 286.1 MB, free: 12.33 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1363, allocations: 0 / 286.1 MB, free: 12.33 MB / 282.7 MB Notification: Performance of Templates: time 0.005543/0.1419, allocations: 3.211 MB / 289.3 MB, free: 12.02 MB / 282.7 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.712288406677544]