Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Generation.HP_test_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_test_case_001") translateModel(AES.Coursework.ThermSys_Generation.HP_test_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_test_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07507/0.07507, allocations: 17.69 MB / 33.64 MB, free: 1.785 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000983/0.0009829, allocations: 173 kB / 38.91 MB, free: 24 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 249.5 MB, free: 2.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008843/0.0008844, allocations: 94.25 kB / 302.2 MB, free: 4.434 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005699/0.0005703, allocations: 16 kB / 367 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2995, allocations: 51.98 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.4076, allocations: 77.44 MB / 496.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4079, allocations: 75.95 kB / 496.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003287/0.4112, allocations: 1.239 MB / 497.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4113, allocations: 0 / 497.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.4113, allocations: 0 / 497.7 MB, free: 9.523 MB / 362.7 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.000426/0.4117, allocations: 355.6 kB / 498 MB, free: 9.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4118, allocations: 23.95 kB / 498.1 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.4118, allocations: 8.844 kB / 498.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.412, allocations: 164.3 kB / 498.2 MB, free: 8.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.412, allocations: 8.562 kB / 498.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.412, allocations: 8.375 kB / 498.2 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.4123, allocations: 89.97 kB / 498.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4123, allocations: 3.938 kB / 498.3 MB, free: 8.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4123, allocations: 4 kB / 498.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.4123, allocations: 4 kB / 498.3 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.4124, allocations: 43.98 kB / 498.4 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.4131, allocations: 465.6 kB / 498.8 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.4132, allocations: 54.61 kB / 498.9 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.4132, allocations: 24.92 kB / 498.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.4133, allocations: 3.984 kB / 498.9 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.4133, allocations: 34.5 kB / 499 MB, free: 8.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.4133, allocations: 0 / 499 MB, free: 8.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002062/0.4135, allocations: 69.88 kB / 499 MB, free: 7.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4136, allocations: 55.34 kB / 499.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.4137, allocations: 117.9 kB / 499.2 MB, free: 7.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.4137, allocations: 25.7 kB / 499.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.4138, allocations: 112 kB / 499.3 MB, free: 7.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.4138, allocations: 19.7 kB / 499.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.4138, allocations: 4 kB / 499.3 MB, free: 7.633 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4139, allocations: 310.8 kB / 499.6 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.414, allocations: 12 kB / 499.7 MB, free: 7.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.414, allocations: 46.44 kB / 499.7 MB, free: 7.254 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.4141, allocations: 58.56 kB / 499.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4141, allocations: 3.938 kB / 499.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001391/0.4143, allocations: 77.62 kB / 499.8 MB, free: 7.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4143, allocations: 4 kB / 499.8 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4143, allocations: 0 / 499.8 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.4143, allocations: 0 / 499.8 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4144, allocations: 23.92 kB / 499.9 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4145, allocations: 8 kB / 499.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.4145, allocations: 11.84 kB / 499.9 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.4145, allocations: 4 kB / 499.9 MB, free: 7.051 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.194e-05/0.4146, allocations: 113.8 kB / 0.4883 GB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.4147, allocations: 4 kB / 0.4883 GB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.4148, allocations: 85.97 kB / 0.4884 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4148, allocations: 0 / 0.4884 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4149, allocations: 7.938 kB / 0.4884 GB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4149, allocations: 0 / 0.4884 GB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.4151, allocations: 185.5 kB / 0.4886 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4151, allocations: 4 kB / 0.4886 GB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.4152, allocations: 8 kB / 0.4886 GB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4152, allocations: 4 kB / 0.4886 GB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.4152, allocations: 0 / 0.4886 GB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4152, allocations: 0 / 0.4886 GB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4152, allocations: 7.922 kB / 0.4886 GB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.4154, allocations: 173.6 kB / 0.4887 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.4155, allocations: 85.02 kB / 0.4888 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4155, allocations: 0 / 0.4888 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.4156, allocations: 0 / 0.4888 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.4156, allocations: 7.938 kB / 0.4888 GB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.4156, allocations: 3.984 kB / 0.4888 GB, free: 6.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.8e-05/0.4157, allocations: 83.53 kB / 0.4889 GB, free: 6.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4157, allocations: 0 / 0.4889 GB, free: 6.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.4159, allocations: 23.94 kB / 0.4889 GB, free: 6.168 MB / 362.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.416, allocations: 95.25 kB / 0.489 GB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.4162, allocations: 40.16 kB / 0.4891 GB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4162, allocations: 0 / 0.4891 GB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.4162, allocations: 24.33 kB / 0.4891 GB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.4165, allocations: 8.094 kB / 0.4891 GB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.417, allocations: 215 kB / 0.4893 GB, free: 5.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.4172, allocations: 0.6887 MB / 0.49 GB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.13e-05/0.4173, allocations: 11.98 kB / 0.49 GB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.4173, allocations: 11.44 kB / 0.49 GB, free: 5.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4173, allocations: 0 / 0.49 GB, free: 5.02 MB / 362.7 MB Notification: Performance of Templates: time 0.002459/0.4198, allocations: 446.2 kB / 0.4904 GB, free: 4.59 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.sim & ./AES_AES.Coursework.ThermSys_Generation.HP_test_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.HP_test_case_001.pipe 2>&1)