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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,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=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.00116, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2741/0.2741, allocations: 22.35 MB / 312.7 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 380.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.289, allocations: 54.95 MB / 435.8 MB, free: 39.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002653/0.2917, allocations: 1.692 MB / 437.5 MB, free: 38.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.2919, allocations: 51.94 kB / 437.5 MB, free: 38.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.292, allocations: 0 / 437.5 MB, free: 38.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.119e-05/0.2921, allocations: 15.3 kB / 437.5 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.2922, allocations: 22.27 kB / 437.5 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.839e-05/0.2923, allocations: 22.67 kB / 437.6 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.2924, allocations: 77.08 kB / 437.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2925, allocations: 33.42 kB / 437.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.2926, allocations: 32.05 kB / 437.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2927, allocations: 33.88 kB / 437.7 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.2927, allocations: 8.438 kB / 437.8 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.2927, allocations: 6.469 kB / 437.8 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.2928, allocations: 22.02 kB / 437.8 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.2928, allocations: 38.94 kB / 437.8 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.2929, allocations: 74.75 kB / 437.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2929, allocations: 0 / 437.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2929, allocations: 0 / 437.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.293, allocations: 0 / 437.9 MB, free: 38.31 MB / 350.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.0003719/0.2933, allocations: 374.9 kB / 438.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2934, allocations: 9.812 kB / 438.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.2934, allocations: 18.69 kB / 438.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2935, allocations: 174.3 kB / 438.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2936, allocations: 3.062 kB / 438.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.2936, allocations: 10.09 kB / 438.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.2937, allocations: 91.09 kB / 438.6 MB, free: 37.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2937, allocations: 3.938 kB / 438.6 MB, free: 37.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2938, allocations: 8 kB / 438.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2938, allocations: 2.562 kB / 438.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.2939, allocations: 51.08 kB / 438.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.2944, allocations: 447.7 kB / 439.1 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.2945, allocations: 57.58 kB / 439.1 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.2945, allocations: 22.59 kB / 439.1 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2945, allocations: 0 / 439.1 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2946, allocations: 37.31 kB / 439.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.2946, allocations: 0 / 439.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001791/0.2947, allocations: 74.28 kB / 439.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.2948, allocations: 59.09 kB / 439.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/0.2948, allocations: 106.2 kB / 439.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.2949, allocations: 32.23 kB / 439.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.2949, allocations: 105.2 kB / 439.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.2949, allocations: 18.25 kB / 439.6 MB, free: 36.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.295, allocations: 24.64 kB / 439.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.349e-05/0.295, allocations: 314.8 kB / 439.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.295, allocations: 15.27 kB / 439.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.2951, allocations: 44.86 kB / 439.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.2951, allocations: 50 kB / 440 MB, free: 36.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2952, allocations: 3.969 kB / 440 MB, free: 36.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001027/0.2953, allocations: 80.77 kB / 440.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2953, allocations: 10.39 kB / 440.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2953, allocations: 2.531 kB / 440.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2953, allocations: 8 kB / 440.1 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.2954, allocations: 17.66 kB / 440.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2954, allocations: 9.625 kB / 440.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.2955, allocations: 0.5 kB / 440.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.2955, allocations: 5.156 kB / 440.1 MB, free: 36.25 MB / 350.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.737e-05/0.2955, allocations: 121.2 kB / 440.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.2956, allocations: 18.55 kB / 440.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.2957, allocations: 79.7 kB / 440.3 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2957, allocations: 4 kB / 440.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2957, allocations: 7.938 kB / 440.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2957, allocations: 0 / 440.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.2959, allocations: 193.4 kB / 440.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2959, allocations: 0 / 440.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.296, allocations: 14.53 kB / 440.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.296, allocations: 0 / 440.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.296, allocations: 2.562 kB / 440.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.296, allocations: 0 / 440.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.296, allocations: 3.938 kB / 440.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.2961, allocations: 162.4 kB / 440.7 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.2961, allocations: 87.36 kB / 440.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.2961, allocations: 4 kB / 440.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.2962, allocations: 0 / 440.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.2962, allocations: 6.531 kB / 440.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2962, allocations: 2.812 kB / 440.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.504e-05/0.2963, allocations: 88.08 kB / 440.9 MB, free: 35.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2963, allocations: 0 / 440.9 MB, free: 35.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.2965, allocations: 23.78 kB / 440.9 MB, free: 35.49 MB / 350.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 7.921e-05/0.2966, allocations: 98.28 kB / 441 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.2967, allocations: 51.86 kB / 441.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2967, allocations: 3.094 kB / 441.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.2968, allocations: 15.88 kB / 441.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.297, allocations: 8.047 kB / 441.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.2974, allocations: 178.9 kB / 441.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2975, allocations: 0.6922 MB / 442 MB, free: 34.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.123e-05/0.2976, allocations: 10.42 kB / 442 MB, free: 34.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.2976, allocations: 10.53 kB / 442 MB, free: 34.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2976, allocations: 0 / 442 MB, free: 34.52 MB / 350.1 MB Notification: Performance of Templates: time 0.002472/0.3001, allocations: 488.9 kB / 442.5 MB, free: 34.46 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile (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)