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.00544/0.00544, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001038/0.001038, allocations: 201.5 kB / 16.68 MB, free: 5.98 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2227/0.2227, allocations: 22.35 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 69.11 kB / 437.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1057, allocations: 54.97 MB / 492 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002426/0.1081, allocations: 1.683 MB / 493.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002064/0.1084, allocations: 59.73 kB / 493.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.1084, allocations: 4 kB / 493.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/0.1085, allocations: 3.938 kB / 493.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1086, allocations: 27.78 kB / 493.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.216e-05/0.1087, allocations: 19.97 kB / 493.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.1088, allocations: 83.66 kB / 493.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1089, allocations: 36.19 kB / 493.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.109, allocations: 23.94 kB / 494 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.917e-05/0.1091, allocations: 39.78 kB / 494 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.1091, allocations: 8 kB / 494 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.1091, allocations: 8 kB / 494 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.1092, allocations: 19.92 kB / 494 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.1092, allocations: 35.81 kB / 494.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1093, allocations: 79.69 kB / 494.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1093, allocations: 0 / 494.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1093, allocations: 0 / 494.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1094, allocations: 0 / 494.1 MB, free: 15.11 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.0004527/0.1098, allocations: 379.5 kB / 494.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1099, allocations: 12.02 kB / 494.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.1099, allocations: 12.84 kB / 494.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.11, allocations: 172.3 kB / 494.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.11, allocations: 8.562 kB / 494.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1101, allocations: 4.375 kB / 494.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1102, allocations: 93.97 kB / 494.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1102, allocations: 0 / 494.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1102, allocations: 4 kB / 494.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1103, allocations: 0 / 494.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.968e-05/0.1104, allocations: 48.92 kB / 494.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.1109, allocations: 461.6 kB / 495.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.461e-05/0.111, allocations: 58.55 kB / 495.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.111, allocations: 16.92 kB / 495.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1111, allocations: 0 / 495.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.1111, allocations: 42.5 kB / 495.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.1111, allocations: 4 kB / 495.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001706/0.1113, allocations: 69.88 kB / 495.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1113, allocations: 59.34 kB / 495.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.1115, allocations: 105.8 kB / 495.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1115, allocations: 29.7 kB / 495.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.1116, allocations: 108 kB / 495.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1116, allocations: 23.64 kB / 495.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.1116, allocations: 25.66 kB / 495.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.1117, allocations: 314.8 kB / 496.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.1118, allocations: 15.98 kB / 496.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.1118, allocations: 38.56 kB / 496.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.237e-05/0.1119, allocations: 50.52 kB / 496.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1119, allocations: 0 / 496.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001203/0.1121, allocations: 97.5 kB / 496.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1121, allocations: 6.656 kB / 496.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1121, allocations: 4 kB / 496.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1121, allocations: 0 / 496.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1122, allocations: 15.98 kB / 496.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1122, allocations: 7.938 kB / 496.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.1123, allocations: 0 / 496.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1123, allocations: 7.938 kB / 496.4 MB, free: 12.6 MB / 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 7.42e-05/0.1124, allocations: 122.6 kB / 496.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.1124, allocations: 11.91 kB / 496.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.1125, allocations: 81.98 kB / 496.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1125, allocations: 0 / 496.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1125, allocations: 3.938 kB / 496.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1126, allocations: 4 kB / 496.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1127, allocations: 181.6 kB / 496.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1127, allocations: 0 / 496.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.1128, allocations: 15.98 kB / 496.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1128, allocations: 0 / 496.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1128, allocations: 4 kB / 496.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1128, allocations: 0 / 496.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.1128, allocations: 3.938 kB / 496.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.113, allocations: 171.5 kB / 497 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.113, allocations: 85.19 kB / 497.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.113, allocations: 0 / 497.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.1131, allocations: 8.25 kB / 497.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.1131, allocations: 7.922 kB / 497.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1131, allocations: 12 kB / 497.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.626e-05/0.1132, allocations: 83.28 kB / 497.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1132, allocations: 0 / 497.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1134, allocations: 16 kB / 497.2 MB, free: 11.71 MB / 366.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 9.482e-05/0.1135, allocations: 103.2 kB / 497.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1136, allocations: 39.92 kB / 497.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1136, allocations: 0 / 497.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.1137, allocations: 23.94 kB / 497.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.1139, allocations: 8.125 kB / 497.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.1143, allocations: 174.4 kB / 497.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.1145, allocations: 0.6885 MB / 498.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.1145, allocations: 11.98 kB / 498.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.1146, allocations: 11.44 kB / 498.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1146, allocations: 0 / 498.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Templates: time 0.002526/0.1171, allocations: 0.4886 MB / 498.7 MB, free: 10.11 MB / 366.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)