Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.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_Transport.HE_simple_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1253/0.1253, allocations: 17.68 MB / 33.63 MB, free: 1.789 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.001081/0.001081, allocations: 176.3 kB / 38.92 MB, free: 16 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.593/1.593, allocations: 205.4 MB / 249.5 MB, free: 2.363 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.00082/0.0008202, allocations: 86.28 kB / 302.2 MB, free: 4.426 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005139/0.0005138, allocations: 12 kB / 366.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2471, allocations: 51.98 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3537, allocations: 79.7 MB / 498.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.3541, allocations: 79.95 kB / 498.7 MB, free: 8.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.3654, allocations: 4.069 MB / 0.491 GB, free: 4.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.718e-06/0.3654, allocations: 0 / 0.491 GB, free: 4.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.3654, allocations: 11.94 kB / 0.491 GB, free: 4.398 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009584/0.3664, allocations: 0.5454 MB / 0.4915 GB, free: 3.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.3665, allocations: 12.03 kB / 0.4915 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3666, allocations: 28.56 kB / 0.4916 GB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.3673, allocations: 342.6 kB / 0.4919 GB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.3673, allocations: 12.38 kB / 0.4919 GB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.3674, allocations: 20.38 kB / 0.4919 GB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.3678, allocations: 207.2 kB / 0.4921 GB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3678, allocations: 7.938 kB / 0.4921 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.3678, allocations: 8 kB / 0.4921 GB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3678, allocations: 4 kB / 0.4921 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.3681, allocations: 111.9 kB / 0.4923 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.3694, allocations: 0.8556 MB / 0.4931 GB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.3697, allocations: 94.66 kB / 0.4932 GB, free: 1.992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.3697, allocations: 36.8 kB / 0.4932 GB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.3698, allocations: 11.97 kB / 0.4932 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3698, allocations: 30.56 kB / 0.4933 GB, free: 1.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/0.3698, allocations: 0 / 0.4933 GB, free: 1.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003818/0.3702, allocations: 145.2 kB / 0.4934 GB, free: 1.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3703, allocations: 55.34 kB / 0.4934 GB, free: 1.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3706, allocations: 292.6 kB / 0.4937 GB, free: 1.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3706, allocations: 33.7 kB / 0.4938 GB, free: 1.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3708, allocations: 164 kB / 0.4939 GB, free: 1.188 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.3708, allocations: 39.45 kB / 0.494 GB, free: 1.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.3709, allocations: 4 kB / 0.494 GB, free: 1.145 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.371, allocations: 338.8 kB / 0.4943 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.252e-05/0.3711, allocations: 43.97 kB / 0.4943 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3712, allocations: 70.48 kB / 0.4944 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3726, allocations: 298.4 kB / 0.4947 GB, free: 392 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3726, allocations: 0 / 0.4947 GB, free: 392 kB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005226/0.3731, allocations: 230.1 kB / 0.4949 GB, free: 152 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3731, allocations: 11.98 kB / 0.4949 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3731, allocations: 0 / 0.4949 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002226/0.3734, allocations: 44.83 kB / 0.4949 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.3736, allocations: 43.91 kB / 0.495 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2828/0.6564, allocations: 1.383 MB / 0.4963 GB, free: 80.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.6567, allocations: 21.47 kB / 0.4964 GB, free: 80.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.6568, allocations: 7.422 kB / 0.4964 GB, free: 80.55 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: HE.Tco:VARIABLE(min = 0.0 start = 313.15 unit = "K" fixed = true nominal = 300.0 ) type: Real 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002882/0.6571, allocations: 142.2 kB / 0.4965 GB, free: 80.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.6572, allocations: 25.08 kB / 0.4965 GB, free: 80.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.6576, allocations: 146.3 kB / 0.4967 GB, free: 80.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6577, allocations: 2.031 kB / 0.4967 GB, free: 80.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.6577, allocations: 3.156 kB / 0.4967 GB, free: 80.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.6577, allocations: 2.125 kB / 0.4967 GB, free: 80.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.6582, allocations: 279.8 kB / 0.4969 GB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6582, allocations: 10.16 kB / 0.4969 GB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.6585, allocations: 27.41 kB / 0.497 GB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6585, allocations: 0.875 kB / 0.497 GB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.6585, allocations: 3.094 kB / 0.497 GB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6585, allocations: 0.6094 kB / 0.497 GB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6585, allocations: 4.219 kB / 0.497 GB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.659, allocations: 272.1 kB / 0.4972 GB, free: 80.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.6591, allocations: 104.1 kB / 0.4973 GB, free: 79.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.6592, allocations: 5 kB / 0.4973 GB, free: 79.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.6594, allocations: 1.891 kB / 0.4973 GB, free: 79.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.6595, allocations: 5.422 kB / 0.4974 GB, free: 79.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.6595, allocations: 10.92 kB / 0.4974 GB, free: 79.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003095/0.6598, allocations: 211.7 kB / 0.4976 GB, free: 79.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6598, allocations: 0 / 0.4976 GB, free: 79.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000537/0.6604, allocations: 60.17 kB / 0.4976 GB, free: 79.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (12): * Single equations (assignments): 12 * 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.0001813/0.6606, allocations: 111.5 kB / 0.4977 GB, free: 79.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006549/0.6612, allocations: 243.9 kB / 0.498 GB, free: 79.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6612, allocations: 1.281 kB / 0.498 GB, free: 79.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.6614, allocations: 41.92 kB / 0.498 GB, free: 79.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.662, allocations: 60.89 kB / 0.4981 GB, free: 79.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.6635, allocations: 0.689 MB / 0.4987 GB, free: 79.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.6638, allocations: 0.7532 MB / 0.4995 GB, free: 78.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.6641, allocations: 35.92 kB / 0.4995 GB, free: 78.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.6642, allocations: 27.34 kB / 0.4995 GB, free: 78.6 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6642, allocations: 0 / 0.4995 GB, free: 78.6 MB / 362.7 MB Notification: Performance of Templates: time 0.009978/0.6742, allocations: 2.817 MB / 0.5023 GB, free: 78.41 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_002.pipe 2>&1)