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.004586/0.004586, allocations: 101.1 kB / 15.88 MB, free: 5.863 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.001128/0.001128, allocations: 190 kB / 16.79 MB, free: 5.805 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.299/1.299, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1957/0.1957, allocations: 22.34 MB / 313 MB, free: 12.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 380.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2402, allocations: 54.94 MB / 435.7 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003018/0.2433, allocations: 2.44 MB / 438.1 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005292/0.2438, allocations: 243.8 kB / 438.4 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.244, allocations: 6.531 kB / 438.4 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.619e-05/0.2441, allocations: 24.56 kB / 438.4 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.2443, allocations: 81.77 kB / 438.5 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.2444, allocations: 32.36 kB / 438.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.2446, allocations: 276.6 kB / 438.8 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.2449, allocations: 120 kB / 438.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.245, allocations: 112 kB / 439 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.2452, allocations: 94.11 kB / 439.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.2452, allocations: 10.31 kB / 439.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.868e-05/0.2452, allocations: 15.09 kB / 439.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.2453, allocations: 25.59 kB / 439.2 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.2454, allocations: 108 kB / 439.3 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.2455, allocations: 162.3 kB / 439.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2455, allocations: 0 / 439.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.2455, allocations: 0 / 439.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.2455, allocations: 0 / 439.4 MB, free: 37.29 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.0006192/0.2461, allocations: 0.5064 MB / 439.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2462, allocations: 8.781 kB / 439.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.2462, allocations: 26.19 kB / 440 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.2465, allocations: 261.8 kB / 440.2 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2465, allocations: 13.55 kB / 440.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.2465, allocations: 13.5 kB / 440.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.2468, allocations: 171.5 kB / 440.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2468, allocations: 0 / 440.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2468, allocations: 10.69 kB / 440.4 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2468, allocations: 10.67 kB / 440.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.247, allocations: 90.83 kB / 440.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.2477, allocations: 0.8024 MB / 441.3 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2478, allocations: 78.47 kB / 441.4 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.2479, allocations: 47.78 kB / 441.5 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.2479, allocations: 2.875 kB / 441.5 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.2479, allocations: 30.56 kB / 441.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.2479, allocations: 0 / 441.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002544/0.2482, allocations: 120 kB / 441.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.2482, allocations: 55.34 kB / 441.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.2484, allocations: 271.9 kB / 441.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.2485, allocations: 40.64 kB / 442 MB, free: 35.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.2485, allocations: 139.8 kB / 442.1 MB, free: 35.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.2486, allocations: 29.78 kB / 442.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.2486, allocations: 30.06 kB / 442.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.2487, allocations: 335.4 kB / 442.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.2487, allocations: 23.23 kB / 442.5 MB, free: 34.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.2488, allocations: 50.33 kB / 442.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.2493, allocations: 160.3 kB / 442.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2493, allocations: 0 / 442.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001976/0.2495, allocations: 141.6 kB / 442.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2495, allocations: 3.031 kB / 442.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2495, allocations: 4 kB / 442.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2495, allocations: 2.75 kB / 442.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2497, allocations: 27.5 kB / 442.9 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2497, allocations: 11.31 kB / 442.9 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.613e-05/0.2498, allocations: 11.38 kB / 442.9 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2498, allocations: 2.781 kB / 442.9 MB, free: 34.51 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.0002123/0.2501, allocations: 154.1 kB / 443.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.2501, allocations: 19.19 kB / 443.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.2502, allocations: 22.44 kB / 443.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2502, allocations: 3.125 kB / 443.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2502, allocations: 3.938 kB / 443.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2502, allocations: 0 / 443.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.2504, allocations: 251.3 kB / 443.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2504, allocations: 4 kB / 443.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.2505, allocations: 18.31 kB / 443.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2505, allocations: 2.938 kB / 443.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2506, allocations: 4 kB / 443.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2506, allocations: 0 / 443.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2506, allocations: 7.875 kB / 443.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.2508, allocations: 225.8 kB / 443.6 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.2509, allocations: 99.62 kB / 443.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.2509, allocations: 6.719 kB / 443.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.251, allocations: 3.938 kB / 443.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.2511, allocations: 9.812 kB / 443.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.2511, allocations: 6.531 kB / 443.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.2512, allocations: 194.2 kB / 443.9 MB, free: 33.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2512, allocations: 0 / 443.9 MB, free: 33.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000255/0.2515, allocations: 34.75 kB / 444 MB, free: 33.69 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 6.812e-05/0.2515, allocations: 100.1 kB / 444.1 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.2517, allocations: 77.08 kB / 444.1 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2517, allocations: 0 / 444.1 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.2518, allocations: 35.02 kB / 444.2 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2522, allocations: 55.48 kB / 444.2 MB, free: 33.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.2529, allocations: 0.5703 MB / 444.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.2531, allocations: 0.7305 MB / 445.5 MB, free: 32.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.2531, allocations: 19.12 kB / 445.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2531, allocations: 0 / 445.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of Templates: time 0.003633/0.2568, allocations: 2.485 MB / 448 MB, free: 32.23 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)