Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_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_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07272/0.07272, allocations: 17.68 MB / 33.63 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.001181/0.001181, allocations: 181.2 kB / 38.91 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.547/1.547, allocations: 205.4 MB / 249.5 MB, free: 2.359 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.000785/0.000785, allocations: 102 kB / 302.2 MB, free: 4.426 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 12 kB / 366.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2223, allocations: 51.99 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09938/0.3217, allocations: 78.36 MB / 497.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.3221, allocations: 67.97 kB / 497.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008114/0.3302, allocations: 3.107 MB / 0.4887 GB, free: 6.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3302, allocations: 4 kB / 0.4887 GB, free: 6.734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.3303, allocations: 4 kB / 0.4887 GB, free: 6.73 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007293/0.331, allocations: 0.4985 MB / 0.4892 GB, free: 6.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.331, allocations: 12.03 kB / 0.4892 GB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.3311, allocations: 24.66 kB / 0.4893 GB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/0.3316, allocations: 308.7 kB / 0.4896 GB, free: 5.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3317, allocations: 8.375 kB / 0.4896 GB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.3317, allocations: 20.28 kB / 0.4896 GB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.332, allocations: 162.4 kB / 0.4897 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.332, allocations: 3.938 kB / 0.4897 GB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3321, allocations: 7.938 kB / 0.4898 GB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3321, allocations: 4 kB / 0.4898 GB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.3323, allocations: 95.89 kB / 0.4899 GB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3334, allocations: 0.8209 MB / 0.4907 GB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.3335, allocations: 78.53 kB / 0.4907 GB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.3336, allocations: 32.84 kB / 0.4908 GB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3336, allocations: 0 / 0.4908 GB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3337, allocations: 38.5 kB / 0.4908 GB, free: 4.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3337, allocations: 0 / 0.4908 GB, free: 4.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000294/0.334, allocations: 121.5 kB / 0.4909 GB, free: 4.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.334, allocations: 51.41 kB / 0.491 GB, free: 4.242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.3343, allocations: 271 kB / 0.4912 GB, free: 3.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.3343, allocations: 25.7 kB / 0.4912 GB, free: 3.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3345, allocations: 148.1 kB / 0.4914 GB, free: 3.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3345, allocations: 27.61 kB / 0.4914 GB, free: 3.762 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.3345, allocations: 4 kB / 0.4914 GB, free: 3.758 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3346, allocations: 330.8 kB / 0.4917 GB, free: 3.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.3347, allocations: 35.92 kB / 0.4918 GB, free: 3.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.3348, allocations: 69.25 kB / 0.4918 GB, free: 3.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/0.3356, allocations: 216.5 kB / 0.492 GB, free: 3.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3356, allocations: 0 / 0.492 GB, free: 3.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004496/0.336, allocations: 194 kB / 0.4922 GB, free: 2.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3361, allocations: 4 kB / 0.4922 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3361, allocations: 3.984 kB / 0.4922 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.3363, allocations: 48.89 kB / 0.4923 GB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.3365, allocations: 35.98 kB / 0.4923 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.3379, allocations: 1.394 MB / 0.4937 GB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.338, allocations: 19.81 kB / 0.4937 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.338, allocations: 8 kB / 0.4937 GB, free: 1.25 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 (14): * Single equations (assignments): 13 * 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.0001988/0.3382, allocations: 133.8 kB / 0.4938 GB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.3383, allocations: 23.66 kB / 0.4938 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.3383, allocations: 29.73 kB / 0.4939 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3383, allocations: 144 / 0.4939 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3383, allocations: 3.984 kB / 0.4939 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3384, allocations: 0 / 0.4939 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.3386, allocations: 241.5 kB / 0.4941 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3386, allocations: 0 / 0.4941 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3388, allocations: 16 kB / 0.4941 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3388, allocations: 11.94 kB / 0.4941 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3388, allocations: 3.984 kB / 0.4941 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3388, allocations: 0 / 0.4941 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3388, allocations: 3.938 kB / 0.4941 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3391, allocations: 227.2 kB / 0.4944 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.3392, allocations: 104.8 kB / 0.4945 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3392, allocations: 0 / 0.4945 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3393, allocations: 0 / 0.4945 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.3394, allocations: 8.062 kB / 0.4945 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.3394, allocations: 0 / 0.4945 GB, free: 364 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3396, allocations: 198 kB / 0.4947 GB, free: 164 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3396, allocations: 0 / 0.4947 GB, free: 164 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.3398, allocations: 48 kB / 0.4947 GB, free: 116 kB / 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 (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.0001202/0.34, allocations: 99.23 kB / 0.4948 GB, free: 8 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.1798/0.5197, allocations: 213.8 kB / 0.495 GB, free: 82.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5198, allocations: 4.281 kB / 0.495 GB, free: 82.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.5199, allocations: 28.19 kB / 0.495 GB, free: 82.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.5204, allocations: 47.42 kB / 0.4951 GB, free: 82.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.5218, allocations: 0.6141 MB / 0.4957 GB, free: 82.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.522, allocations: 0.7334 MB / 0.4964 GB, free: 81.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.5222, allocations: 26.64 kB / 0.4964 GB, free: 81.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.5223, allocations: 19.52 kB / 0.4964 GB, free: 81.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5223, allocations: 0 / 0.4964 GB, free: 81.94 MB / 362.7 MB Notification: Performance of Templates: time 0.006699/0.529, allocations: 2.373 MB / 0.4988 GB, free: 81.79 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)