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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 195.7 kB / 16.53 MB, free: 6.672 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2082/0.2082, allocations: 22.34 MB / 312.7 MB, free: 12.56 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 59.91 kB / 380.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2763, allocations: 54.95 MB / 435.8 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002871/0.2793, allocations: 2.181 MB / 437.9 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003199/0.2796, allocations: 208.9 kB / 438.1 MB, free: 38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.922e-05/0.2797, allocations: 11.62 kB / 438.2 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.924e-05/0.2798, allocations: 32.03 kB / 438.2 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.28, allocations: 97.56 kB / 438.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.2801, allocations: 32.81 kB / 438.3 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.2803, allocations: 289.7 kB / 438.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.2805, allocations: 127.3 kB / 438.7 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2807, allocations: 111.2 kB / 438.8 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.2808, allocations: 90.17 kB / 438.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.2808, allocations: 17.86 kB / 438.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-05/0.2809, allocations: 13.47 kB / 439 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.2809, allocations: 35.72 kB / 439 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.281, allocations: 111.1 kB / 439.1 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.2812, allocations: 215.7 kB / 439.3 MB, free: 37.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2812, allocations: 0 / 439.3 MB, free: 37.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2812, allocations: 0 / 439.3 MB, free: 37.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2812, allocations: 0 / 439.3 MB, free: 37.42 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006169/0.2818, allocations: 0.5046 MB / 439.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2818, allocations: 8.062 kB / 439.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.2819, allocations: 29.59 kB / 439.8 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2821, allocations: 263.4 kB / 440.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2821, allocations: 9.875 kB / 440.1 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.2822, allocations: 16.34 kB / 440.1 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.2824, allocations: 176.3 kB / 440.3 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2824, allocations: 0 / 440.3 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.2824, allocations: 10.72 kB / 440.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2824, allocations: 6.75 kB / 440.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.2826, allocations: 89.95 kB / 440.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.2832, allocations: 0.8108 MB / 441.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2833, allocations: 75.47 kB / 441.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.2834, allocations: 45.02 kB / 441.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2834, allocations: 3.984 kB / 441.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.2834, allocations: 34.56 kB / 441.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2835, allocations: 3.938 kB / 441.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002401/0.2837, allocations: 119.3 kB / 441.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.2837, allocations: 54.12 kB / 441.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.2839, allocations: 271.1 kB / 441.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.2839, allocations: 29.7 kB / 441.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.284, allocations: 143.1 kB / 442 MB, free: 35.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.284, allocations: 33.91 kB / 442 MB, free: 35.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.2841, allocations: 29.66 kB / 442 MB, free: 35.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.2841, allocations: 332.3 kB / 442.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.2842, allocations: 25.73 kB / 442.4 MB, free: 34.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.2843, allocations: 49.34 kB / 442.4 MB, free: 34.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.2847, allocations: 154.3 kB / 442.6 MB, free: 34.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2848, allocations: 2.812 kB / 442.6 MB, free: 34.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002152/0.285, allocations: 140.8 kB / 442.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.285, allocations: 8.703 kB / 442.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.285, allocations: 3.938 kB / 442.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.285, allocations: 7.719 kB / 442.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2852, allocations: 23.78 kB / 442.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2852, allocations: 3.938 kB / 442.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2853, allocations: 17.66 kB / 442.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2853, allocations: 3.469 kB / 442.8 MB, free: 34.64 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 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): 14 * 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 0.0001815/0.2855, allocations: 152.7 kB / 442.9 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.2856, allocations: 16.81 kB / 443 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.2856, allocations: 23.94 kB / 443 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2856, allocations: 3.969 kB / 443 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2856, allocations: 3.938 kB / 443 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2856, allocations: 0 / 443 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.2858, allocations: 250.1 kB / 443.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2858, allocations: 0 / 443.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.286, allocations: 15.34 kB / 443.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.286, allocations: 6.062 kB / 443.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.286, allocations: 11.94 kB / 443.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.286, allocations: 0 / 443.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.286, allocations: 3.938 kB / 443.3 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.2863, allocations: 228.3 kB / 443.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.2863, allocations: 102.3 kB / 443.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.2864, allocations: 0 / 443.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2865, allocations: 3.031 kB / 443.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.2865, allocations: 10.14 kB / 443.6 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2865, allocations: 8.062 kB / 443.6 MB, free: 33.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.2867, allocations: 193.9 kB / 443.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2867, allocations: 0 / 443.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.2869, allocations: 34.53 kB / 443.8 MB, free: 33.82 MB / 350.1 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 (8): * Single equations (assignments): 8 * 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 8.875e-05/0.287, allocations: 97.62 kB / 443.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.2872, allocations: 77.94 kB / 444 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2872, allocations: 0 / 444 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.872e-05/0.2873, allocations: 45.58 kB / 444.1 MB, free: 33.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.2876, allocations: 49.45 kB / 444.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.2884, allocations: 0.4964 MB / 444.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2886, allocations: 0.7321 MB / 445.3 MB, free: 32.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.2887, allocations: 26.67 kB / 445.4 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.2888, allocations: 23 kB / 445.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2888, allocations: 0 / 445.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of Templates: time 0.004662/0.2934, allocations: 2.254 MB / 447.6 MB, free: 32.45 MB / 350.1 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)