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.001471/0.001471, allocations: 104.7 kB / 16.27 MB, free: 6.414 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.001679/0.001679, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09538/0.09538, allocations: 22.32 MB / 313.4 MB, free: 8.977 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 61.91 kB / 381.5 MB, free: 41.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.08056, allocations: 54.96 MB / 436.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003164/0.08376, allocations: 2.182 MB / 438.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.08424, allocations: 199.2 kB / 438.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.08441, allocations: 11.94 kB / 438.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.172e-05/0.08453, allocations: 31.64 kB / 438.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.08477, allocations: 103.2 kB / 438.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.08492, allocations: 39.88 kB / 439 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.0852, allocations: 278.6 kB / 439.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.08546, allocations: 128.6 kB / 439.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.08564, allocations: 111.5 kB / 439.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.08579, allocations: 95.56 kB / 439.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.08583, allocations: 12 kB / 439.6 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.933e-05/0.08587, allocations: 12 kB / 439.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.08591, allocations: 39.84 kB / 439.6 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.08603, allocations: 107.4 kB / 439.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.08625, allocations: 223.4 kB / 440 MB, free: 9.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.08626, allocations: 4 kB / 440 MB, free: 9.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08627, allocations: 0 / 440 MB, free: 9.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.08628, allocations: 0 / 440 MB, free: 9.492 MB / 318.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.0007001/0.08699, allocations: 0.5139 MB / 440.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.08703, allocations: 8.031 kB / 440.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.08709, allocations: 24.66 kB / 440.5 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.08737, allocations: 268.6 kB / 440.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.08739, allocations: 8.375 kB / 440.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.08743, allocations: 16.31 kB / 440.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.08769, allocations: 167.4 kB / 441 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.08771, allocations: 3.938 kB / 441 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.08773, allocations: 8 kB / 441 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.08774, allocations: 4 kB / 441 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.08793, allocations: 95.89 kB / 441.1 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008318/0.08877, allocations: 0.8094 MB / 441.9 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.08895, allocations: 74.5 kB / 441.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.08903, allocations: 40.84 kB / 442 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.08905, allocations: 0 / 442 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.08907, allocations: 30.56 kB / 442 MB, free: 7.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.08908, allocations: 4 kB / 442 MB, free: 7.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002866/0.08937, allocations: 125.4 kB / 442.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.08941, allocations: 55.34 kB / 442.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.08967, allocations: 275 kB / 442.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.08969, allocations: 25.7 kB / 442.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.08979, allocations: 139.9 kB / 442.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.08982, allocations: 31.55 kB / 442.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.08987, allocations: 29.7 kB / 442.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.08999, allocations: 334.8 kB / 443 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.09005, allocations: 28 kB / 443 MB, free: 6.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.09013, allocations: 46.56 kB / 443.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.09066, allocations: 170.6 kB / 443.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.09067, allocations: 0 / 443.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002291/0.09091, allocations: 137.3 kB / 443.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.09093, allocations: 4 kB / 443.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.09094, allocations: 320 / 443.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.09096, allocations: 4 kB / 443.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.09113, allocations: 31.98 kB / 443.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.09115, allocations: 7.875 kB / 443.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.09126, allocations: 23.69 kB / 443.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.09128, allocations: 7.984 kB / 443.5 MB, free: 5.703 MB / 318.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.0001845/0.09147, allocations: 133.8 kB / 443.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.09152, allocations: 23.72 kB / 443.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.09157, allocations: 29.73 kB / 443.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.09158, allocations: 3.938 kB / 443.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.09159, allocations: 3.938 kB / 443.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.09161, allocations: 3.984 kB / 443.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.09185, allocations: 241.6 kB / 443.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.09186, allocations: 0 / 443.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.09201, allocations: 16 kB / 443.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.09202, allocations: 0 / 443.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.09204, allocations: 0 / 443.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.09205, allocations: 11.94 kB / 443.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.09206, allocations: 7.922 kB / 443.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.09234, allocations: 231.2 kB / 444.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.09241, allocations: 96.86 kB / 444.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.09245, allocations: 0 / 444.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.09257, allocations: 4 kB / 444.3 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.0926, allocations: 11.92 kB / 444.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.09261, allocations: 0 / 444.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.09279, allocations: 198 kB / 444.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.0928, allocations: 0 / 444.5 MB, free: 4.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.09307, allocations: 40 kB / 444.5 MB, free: 4.574 MB / 318.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.783e-05/0.09317, allocations: 99.12 kB / 444.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.09336, allocations: 79.91 kB / 444.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09337, allocations: 0 / 444.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.09343, allocations: 31.98 kB / 444.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.09381, allocations: 53.16 kB / 444.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008533/0.09468, allocations: 0.522 MB / 445.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.09495, allocations: 0.7362 MB / 446 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.09501, allocations: 19.44 kB / 446 MB, free: 2.969 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.09502, allocations: 0 / 446 MB, free: 2.969 MB / 318.1 MB Notification: Performance of Templates: time 0.004261/0.09928, allocations: 2.489 MB / 448.5 MB, free: 0.4922 MB / 318.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)