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.0007439/0.0007439, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0007494/0.0007493, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1868/0.1868, allocations: 22.35 MB / 313.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.000287, allocations: 8 kB / 381.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2399, allocations: 55.98 MB / 437.9 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.001476/0.2414, allocations: 2.007 MB / 439.9 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003012/0.2417, allocations: 237.5 kB / 440.2 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.2418, allocations: 12.88 kB / 440.2 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.398e-05/0.2418, allocations: 28.61 kB / 440.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.242, allocations: 104.8 kB / 440.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.2421, allocations: 25.52 kB / 440.3 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.2423, allocations: 268.5 kB / 440.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.2425, allocations: 102.8 kB / 440.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2426, allocations: 109 kB / 440.8 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.675e-05/0.2427, allocations: 83.19 kB / 440.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.2427, allocations: 12.69 kB / 440.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.839e-05/0.2428, allocations: 8.938 kB / 440.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.2428, allocations: 29.69 kB / 440.9 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.2428, allocations: 68.14 kB / 441 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.243, allocations: 155.4 kB / 441.1 MB, free: 37.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.243, allocations: 4 kB / 441.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.243, allocations: 0 / 441.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.243, allocations: 0 / 441.1 MB, free: 37.09 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.000443/0.2434, allocations: 491.1 kB / 441.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.592e-05/0.2435, allocations: 8.406 kB / 441.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.2435, allocations: 22.84 kB / 441.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.2437, allocations: 264 kB / 441.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2437, allocations: 9.719 kB / 441.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.2437, allocations: 15.84 kB / 441.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.244, allocations: 167.5 kB / 442.1 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.244, allocations: 0 / 442.1 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.244, allocations: 13.89 kB / 442.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.244, allocations: 6.562 kB / 442.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.2441, allocations: 91.41 kB / 442.2 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.2447, allocations: 0.8061 MB / 443 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2448, allocations: 72.22 kB / 443.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.2449, allocations: 41.77 kB / 443.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2449, allocations: 3.328 kB / 443.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.2449, allocations: 45.61 kB / 443.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2449, allocations: 0 / 443.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000216/0.2452, allocations: 124.1 kB / 443.3 MB, free: 35.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.512e-05/0.2452, allocations: 57.88 kB / 443.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2454, allocations: 266.1 kB / 443.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.2454, allocations: 28.8 kB / 443.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.2454, allocations: 142.3 kB / 443.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.2455, allocations: 32.23 kB / 443.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.2455, allocations: 0 / 443.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.2455, allocations: 339 kB / 444.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.2456, allocations: 24.33 kB / 444.2 MB, free: 34.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.2456, allocations: 47.59 kB / 444.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.2457, allocations: 35.12 kB / 444.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2457, allocations: 0 / 444.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001654/0.2459, allocations: 139.6 kB / 444.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.2459, allocations: 12.39 kB / 444.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2459, allocations: 2.844 kB / 444.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2459, allocations: 0 / 444.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2461, allocations: 27.81 kB / 444.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2461, allocations: 6.781 kB / 444.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.2462, allocations: 18.66 kB / 444.5 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.2462, allocations: 5.094 kB / 444.5 MB, free: 34.42 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.2463, allocations: 135.5 kB / 444.6 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.2463, allocations: 26.69 kB / 444.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.2464, allocations: 26.88 kB / 444.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2464, allocations: 6.484 kB / 444.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2464, allocations: 0 / 444.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2464, allocations: 0 / 444.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.2466, allocations: 247.8 kB / 444.9 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2466, allocations: 0 / 444.9 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.2467, allocations: 21.66 kB / 444.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2467, allocations: 2.688 kB / 444.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.2467, allocations: 0 / 444.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2468, allocations: 3.953 kB / 444.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2468, allocations: 0 / 444.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.247, allocations: 237.1 kB / 445.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.247, allocations: 94.3 kB / 445.2 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.247, allocations: 7.422 kB / 445.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.2471, allocations: 4.062 kB / 445.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.2472, allocations: 6.641 kB / 445.3 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.2472, allocations: 6.438 kB / 445.3 MB, free: 33.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.2473, allocations: 190.3 kB / 445.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2473, allocations: 0 / 445.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.2476, allocations: 40.97 kB / 445.5 MB, free: 33.61 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 (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 4.824e-05/0.2476, allocations: 96.91 kB / 445.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.2478, allocations: 73.64 kB / 445.7 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2478, allocations: 4.125 kB / 445.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.601e-05/0.2478, allocations: 30.98 kB / 445.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.2482, allocations: 55.3 kB / 445.7 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.2488, allocations: 0.5913 MB / 446.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.2489, allocations: 0.7334 MB / 447.1 MB, free: 32.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.249, allocations: 26.64 kB / 447.1 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.249, allocations: 22.22 kB / 447.1 MB, free: 32.35 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2491, allocations: 0 / 447.1 MB, free: 32.35 MB / 350.1 MB Notification: Performance of Templates: time 0.003795/0.2529, allocations: 2.054 MB / 449.2 MB, free: 32.2 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)