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.00156/0.00156, allocations: 109.2 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001497, allocations: 187.4 kB / 17.34 MB, free: 5.633 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0893/0.0893, allocations: 22.32 MB / 313.5 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1186, allocations: 54.96 MB / 492.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003212/0.1219, allocations: 1.672 MB / 494.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002509/0.1222, allocations: 67.73 kB / 494.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.1222, allocations: 4 kB / 494.4 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.559e-05/0.1223, allocations: 11.86 kB / 494.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.1225, allocations: 23.78 kB / 494.5 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.508e-05/0.1225, allocations: 15.98 kB / 494.5 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.1227, allocations: 71.72 kB / 494.5 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1228, allocations: 40.2 kB / 494.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.1229, allocations: 35.86 kB / 494.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.123, allocations: 27.86 kB / 494.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.123, allocations: 8 kB / 494.6 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.952e-05/0.123, allocations: 8 kB / 494.7 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.1231, allocations: 15.92 kB / 494.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.1231, allocations: 43.8 kB / 494.7 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1233, allocations: 83.64 kB / 494.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1233, allocations: 0 / 494.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1233, allocations: 4 kB / 494.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1233, allocations: 0 / 494.8 MB, free: 2.594 MB / 366.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.0005165/0.1238, allocations: 375.5 kB / 495.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1239, allocations: 8.031 kB / 495.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.1239, allocations: 12.84 kB / 495.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.124, allocations: 164.3 kB / 495.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1241, allocations: 8.562 kB / 495.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1241, allocations: 12.38 kB / 495.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1243, allocations: 93.91 kB / 495.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1243, allocations: 3.984 kB / 495.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1243, allocations: 4 kB / 495.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1243, allocations: 4 kB / 495.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1244, allocations: 47.97 kB / 495.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.1251, allocations: 457.6 kB / 496 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1252, allocations: 54.56 kB / 496 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.1253, allocations: 16.92 kB / 496 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.1253, allocations: 4 kB / 496 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1253, allocations: 38.5 kB / 496.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1253, allocations: 0 / 496.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002192/0.1256, allocations: 73.72 kB / 496.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1256, allocations: 59.34 kB / 496.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.635e-05/0.1257, allocations: 106 kB / 496.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1257, allocations: 29.7 kB / 496.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.1258, allocations: 108 kB / 496.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1258, allocations: 23.7 kB / 496.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1259, allocations: 17.72 kB / 496.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.126, allocations: 326.8 kB / 496.8 MB, free: 360 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.1261, allocations: 12.25 kB / 496.8 MB, free: 348 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.1261, allocations: 38.5 kB / 496.9 MB, free: 300 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.1262, allocations: 54.58 kB / 496.9 MB, free: 236 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1262, allocations: 0 / 496.9 MB, free: 236 kB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001227/0.1263, allocations: 89.52 kB / 497 MB, free: 140 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1264, allocations: 8 kB / 497 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1264, allocations: 8.047 kB / 497 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1264, allocations: 0 / 497 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1265, allocations: 19.94 kB / 497 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1265, allocations: 8 kB / 497 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.1266, allocations: 3.938 kB / 497 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1266, allocations: 4 kB / 497 MB, free: 88 kB / 366.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 0.0001138/0.1267, allocations: 122.6 kB / 497.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.1268, allocations: 11.91 kB / 497.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.1269, allocations: 74 kB / 497.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1269, allocations: 4 kB / 497.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1269, allocations: 3.938 kB / 497.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.127, allocations: 3.984 kB / 497.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1272, allocations: 185.6 kB / 497.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1272, allocations: 0 / 497.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.1272, allocations: 15.98 kB / 497.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1272, allocations: 0 / 497.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1273, allocations: 192 / 497.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1273, allocations: 4 kB / 497.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1273, allocations: 11.88 kB / 497.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.1274, allocations: 163.4 kB / 497.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.1275, allocations: 85.03 kB / 497.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1275, allocations: 8 kB / 497.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.1276, allocations: 0 / 497.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.1276, allocations: 3.938 kB / 497.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1276, allocations: 4 kB / 497.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.1277, allocations: 91.27 kB / 497.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1277, allocations: 3.938 kB / 497.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1279, allocations: 15.91 kB / 497.8 MB, free: 15.2 MB / 382.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 0.0001092/0.128, allocations: 99.25 kB / 497.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1281, allocations: 43.92 kB / 498 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1282, allocations: 0 / 498 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.1282, allocations: 16 kB / 498 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1285, allocations: 4.188 kB / 498 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.1289, allocations: 212.2 kB / 498.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1292, allocations: 0.6885 MB / 498.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.1292, allocations: 11.44 kB / 498.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1292, allocations: 0 / 498.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of Templates: time 0.002258/0.1315, allocations: 0.8329 MB / 499.7 MB, free: 13.22 MB / 382.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)