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.006113/0.006113, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001003/0.001003, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2204/0.2204, allocations: 22.33 MB / 312.9 MB, free: 12.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 66.17 kB / 437.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 54.97 MB / 492 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002349/0.1102, allocations: 1.678 MB / 493.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000203/0.1105, allocations: 63.73 kB / 493.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.1105, allocations: 0 / 493.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.029e-05/0.1106, allocations: 7.875 kB / 493.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.1107, allocations: 23.84 kB / 493.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.926e-05/0.1108, allocations: 19.97 kB / 493.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.1109, allocations: 87.59 kB / 493.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.1111, allocations: 40.19 kB / 493.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.1111, allocations: 23.94 kB / 494 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.1112, allocations: 31.84 kB / 494 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1113, allocations: 11.94 kB / 494 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.1113, allocations: 12 kB / 494 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.1113, allocations: 15.98 kB / 494 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.1114, allocations: 35.81 kB / 494.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.1115, allocations: 79.69 kB / 494.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1115, allocations: 0 / 494.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1115, allocations: 0 / 494.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1115, allocations: 0 / 494.1 MB, free: 15.05 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.0004411/0.112, allocations: 367.6 kB / 494.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.112, allocations: 16.02 kB / 494.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.112, allocations: 20.78 kB / 494.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1122, allocations: 172.3 kB / 494.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.1122, allocations: 4.562 kB / 494.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1122, allocations: 16.31 kB / 494.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1124, allocations: 89.97 kB / 494.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1124, allocations: 0 / 494.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1124, allocations: 4 kB / 494.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1124, allocations: 4 kB / 494.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1125, allocations: 53.05 kB / 494.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.1131, allocations: 453.6 kB / 495.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1132, allocations: 58.61 kB / 495.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.1133, allocations: 20.92 kB / 495.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1133, allocations: 0 / 495.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1133, allocations: 30.56 kB / 495.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.1134, allocations: 4 kB / 495.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001919/0.1136, allocations: 77.62 kB / 495.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1136, allocations: 55.34 kB / 495.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.1137, allocations: 105.8 kB / 495.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1137, allocations: 25.7 kB / 495.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.1138, allocations: 108 kB / 495.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.1138, allocations: 27.64 kB / 495.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1138, allocations: 21.72 kB / 495.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1139, allocations: 318.8 kB / 496.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.114, allocations: 15.98 kB / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.114, allocations: 34.56 kB / 496.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.1141, allocations: 54.52 kB / 496.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1141, allocations: 0 / 496.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001314/0.1143, allocations: 89.52 kB / 496.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1143, allocations: 8 kB / 496.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1143, allocations: 0 / 496.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1143, allocations: 0 / 496.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1144, allocations: 19.98 kB / 496.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1144, allocations: 7.875 kB / 496.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.1145, allocations: 4 kB / 496.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1145, allocations: 0.5781 kB / 496.4 MB, free: 12.55 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 8.667e-05/0.1146, allocations: 122.6 kB / 496.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.1146, allocations: 11.84 kB / 496.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.1148, allocations: 85.97 kB / 496.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1148, allocations: 0 / 496.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1148, allocations: 4.125 kB / 496.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1148, allocations: 0 / 496.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.115, allocations: 197.5 kB / 496.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.115, allocations: 4 kB / 496.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.1151, allocations: 11.98 kB / 496.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1151, allocations: 4 kB / 496.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1151, allocations: 4 kB / 496.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1151, allocations: 0 / 496.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1151, allocations: 3.938 kB / 496.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.1153, allocations: 163.5 kB / 497 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.1153, allocations: 85.02 kB / 497.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1154, allocations: 4 kB / 497.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.1154, allocations: 0 / 497.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.1154, allocations: 11.92 kB / 497.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1155, allocations: 4 kB / 497.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.285e-05/0.1155, allocations: 87.22 kB / 497.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1155, allocations: 0 / 497.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1158, allocations: 16 kB / 497.2 MB, free: 11.66 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 0.0001118/0.1159, allocations: 103.2 kB / 497.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.116, allocations: 43.92 kB / 497.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.116, allocations: 0 / 497.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.116, allocations: 20.12 kB / 497.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1164, allocations: 8 kB / 497.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.1168, allocations: 166.4 kB / 497.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.117, allocations: 0.6924 MB / 498.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.819e-05/0.1171, allocations: 7.984 kB / 498.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.1171, allocations: 11.44 kB / 498.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1171, allocations: 0 / 498.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of Templates: time 0.002567/0.1197, allocations: 0.4912 MB / 498.7 MB, free: 10.06 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)