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.0009625/0.0009625, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002304, allocations: 435.8 kB / 10.33 MB, free: 368 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.001072/0.001072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002292, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.889/0.889, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07118/0.9602, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.06798/0.06798, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00914/0.07712, allocations: 6.778 MB / 268.9 MB, free: 6.359 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.302e-06/1.302e-06, allocations: 0 / 270.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.595e-05, allocations: 6.312 kB / 270.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002756/0.002772, allocations: 2.3 MB / 272.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002747/0.003047, allocations: 183.2 kB / 272.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.003104, allocations: 4 kB / 272.8 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.033e-05/0.003164, allocations: 31.7 kB / 272.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.003265, allocations: 67.34 kB / 272.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.003373, allocations: 43.94 kB / 272.9 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.003577, allocations: 250.8 kB / 273.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.00372, allocations: 78.61 kB / 273.3 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.003852, allocations: 143.7 kB / 273.4 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.003975, allocations: 79.78 kB / 273.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.004008, allocations: 20 kB / 273.5 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.782e-05/0.004036, allocations: 20 kB / 273.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.004067, allocations: 35.88 kB / 273.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.004136, allocations: 67.88 kB / 273.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.004424, allocations: 143.4 kB / 273.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.004437, allocations: 0 / 273.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004437, allocations: 4 kB / 273.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.004451, allocations: 0 / 273.8 MB, free: 1.422 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.0004944/0.004946, allocations: 444.2 kB / 274.2 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.004974, allocations: 12.03 kB / 274.2 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.005032, allocations: 36.91 kB / 274.3 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.45e-05/0.005126, allocations: 133.5 kB / 274.4 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.005145, allocations: 16.88 kB / 274.4 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.00517, allocations: 24.38 kB / 274.4 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.005349, allocations: 144.6 kB / 274.6 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.005359, allocations: 4.172 kB / 274.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.005372, allocations: 12.38 kB / 274.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00538, allocations: 8.375 kB / 274.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.755e-05/0.005467, allocations: 67.34 kB / 274.7 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.006049, allocations: 419.8 kB / 275.1 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1124/0.1185, allocations: 110.8 kB / 275.2 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.1186, allocations: 101.8 kB / 275.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1187, allocations: 6.672 kB / 275.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1187, allocations: 37.55 kB / 275.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.454e-06/0.1187, allocations: 3.844 kB / 275.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008462/0.1195, allocations: 405.8 kB / 275.7 MB, free: 3.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.1196, allocations: 54.75 kB / 275.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.1196, allocations: 135.3 kB / 275.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.1197, allocations: 30.72 kB / 275.9 MB, free: 3.703 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.1197, allocations: 146 kB / 276.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1197, allocations: 75.39 kB / 276.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.1198, allocations: 40.92 kB / 276.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.216e-05/0.1198, allocations: 328 kB / 276.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.1199, allocations: 18.53 kB / 276.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-05/0.1199, allocations: 52 kB / 276.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.215e-05/0.12, allocations: 98.08 kB / 276.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.12, allocations: 1.062 kB / 276.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003129/0.1203, allocations: 224.2 kB / 276.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1203, allocations: 5.406 kB / 276.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1203, allocations: 1 kB / 276.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.1208, allocations: 207.9 kB / 277.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.1208, allocations: 28.06 kB / 277.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.1226, allocations: 3.077 MB / 280.2 MB, free: 16.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.1226, allocations: 17.16 kB / 280.2 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1226, allocations: 9.359 kB / 280.2 MB, free: 16.52 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.282e-05/0.1227, allocations: 125.3 kB / 280.4 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.1227, allocations: 17.69 kB / 280.4 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.123, allocations: 215.9 kB / 280.6 MB, free: 16.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.123, allocations: 2.156 kB / 280.6 MB, free: 16.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.81e-07/0.123, allocations: 0 / 280.6 MB, free: 16.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.123, allocations: 6.312 kB / 280.6 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1232, allocations: 124.6 kB / 280.7 MB, free: 16.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.1232, allocations: 2.125 kB / 280.7 MB, free: 16.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.1232, allocations: 19.05 kB / 280.7 MB, free: 16.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.1232, allocations: 20.94 kB / 280.8 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.1236, allocations: 202 kB / 281 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1236, allocations: 3.375 kB / 281 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.1253, allocations: 3.025 MB / 284 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1253, allocations: 0 / 284 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1256, allocations: 304.1 kB / 284.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.1256, allocations: 6.328 kB / 284.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.1257, allocations: 4.969 kB / 284.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.1257, allocations: 19.3 kB / 284.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1257, allocations: 10.53 kB / 284.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.342e-05/0.1257, allocations: 28.11 kB / 284.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1257, allocations: 1.156 kB / 284.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003189/0.126, allocations: 77.48 kB / 284.4 MB, free: 13.5 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 8.117e-05/0.1261, allocations: 85.59 kB / 284.5 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.1265, allocations: 384.8 kB / 284.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.1265, allocations: 3.469 kB / 284.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.1267, allocations: 346.3 kB / 285.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.1269, allocations: 23.75 kB / 285.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.1292, allocations: 456.8 kB / 285.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.783e-05/0.1293, allocations: 82.34 kB / 285.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.864e-05/0.1293, allocations: 9.375 kB / 285.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.1293, allocations: 58.8 kB / 285.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1293, allocations: 1.25 kB / 285.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of Templates: time 0.004817/0.1342, allocations: 2.961 MB / 288.8 MB, free: 12.38 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.7244466422125697]