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.001064/0.001067, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001147/0.001147, allocations: 193.2 kB / 16.26 MB, free: 6.621 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1984/0.1984, allocations: 22.36 MB / 312.4 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.91 kB / 380.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.265, allocations: 54.95 MB / 435.3 MB, free: 39.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002718/0.2678, allocations: 2.438 MB / 437.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003478/0.2682, allocations: 238.2 kB / 437.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2683, allocations: 12.69 kB / 437.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.691e-05/0.2683, allocations: 24.92 kB / 438 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.2685, allocations: 85.48 kB / 438 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.2687, allocations: 33.55 kB / 438.1 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.2688, allocations: 283.8 kB / 438.4 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.2691, allocations: 133.7 kB / 438.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.2692, allocations: 121.6 kB / 438.6 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2693, allocations: 91.34 kB / 438.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.2694, allocations: 13.62 kB / 438.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.097e-05/0.2694, allocations: 13.72 kB / 438.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.2694, allocations: 28.59 kB / 438.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.644e-05/0.2695, allocations: 114.1 kB / 438.9 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.2697, allocations: 219.9 kB / 439.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2697, allocations: 0 / 439.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2697, allocations: 3.5 kB / 439.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2697, allocations: 0 / 439.1 MB, free: 37.13 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.0005583/0.2703, allocations: 0.5034 MB / 439.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2703, allocations: 7.906 kB / 439.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.2704, allocations: 29.03 kB / 439.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.2706, allocations: 264.1 kB / 439.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2706, allocations: 9.531 kB / 439.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.2706, allocations: 12.25 kB / 439.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.2708, allocations: 173.5 kB / 440.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2709, allocations: 7.922 kB / 440.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2709, allocations: 4 kB / 440.1 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2709, allocations: 5.438 kB / 440.1 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.271, allocations: 95.94 kB / 440.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.2717, allocations: 0.7982 MB / 441 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.2718, allocations: 82.67 kB / 441.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.2719, allocations: 50.2 kB / 441.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.2719, allocations: 0 / 441.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.2719, allocations: 33.94 kB / 441.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.2719, allocations: 0 / 441.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002345/0.2721, allocations: 124.5 kB / 441.3 MB, free: 35.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.2722, allocations: 55.41 kB / 441.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.2724, allocations: 276.4 kB / 441.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.2724, allocations: 25.7 kB / 441.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.2724, allocations: 151.7 kB / 441.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2725, allocations: 29.81 kB / 441.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.2725, allocations: 29.41 kB / 441.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.2726, allocations: 331 kB / 442.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.2726, allocations: 28.69 kB / 442.2 MB, free: 34.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.428e-05/0.2727, allocations: 50.48 kB / 442.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.2732, allocations: 157.9 kB / 442.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2732, allocations: 0 / 442.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001648/0.2733, allocations: 137.2 kB / 442.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2734, allocations: 5.531 kB / 442.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2734, allocations: 0 / 442.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2734, allocations: 3.531 kB / 442.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2735, allocations: 23.59 kB / 442.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2735, allocations: 3.938 kB / 442.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.2736, allocations: 13.47 kB / 442.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2737, allocations: 7.031 kB / 442.6 MB, free: 34.35 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.0001616/0.2738, allocations: 154.7 kB / 442.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.2739, allocations: 15.62 kB / 442.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.2739, allocations: 29.25 kB / 442.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2739, allocations: 0 / 442.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2739, allocations: 3.938 kB / 442.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2739, allocations: 7.938 kB / 442.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.2741, allocations: 242.2 kB / 443 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2741, allocations: 0 / 443 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.2743, allocations: 18.81 kB / 443 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2743, allocations: 2.531 kB / 443 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2743, allocations: 4 kB / 443 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2743, allocations: 7.219 kB / 443 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2743, allocations: 3.938 kB / 443 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.2745, allocations: 232.2 kB / 443.3 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.2746, allocations: 103.8 kB / 443.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.2746, allocations: 0 / 443.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2747, allocations: 4 kB / 443.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.2747, allocations: 14.03 kB / 443.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2747, allocations: 2.906 kB / 443.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.2749, allocations: 191.6 kB / 443.6 MB, free: 33.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2749, allocations: 0 / 443.6 MB, free: 33.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000244/0.2751, allocations: 40.53 kB / 443.6 MB, free: 33.52 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.22e-05/0.2752, allocations: 101.7 kB / 443.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.2753, allocations: 73.48 kB / 443.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2754, allocations: 0 / 443.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.2754, allocations: 40.2 kB / 443.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2758, allocations: 51.84 kB / 443.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.2764, allocations: 0.5451 MB / 444.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.2766, allocations: 0.7258 MB / 445.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.2767, allocations: 37.91 kB / 445.2 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.2767, allocations: 19.34 kB / 445.2 MB, free: 32.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2767, allocations: 0 / 445.2 MB, free: 32.27 MB / 350.1 MB Notification: Performance of Templates: time 0.004404/0.2811, allocations: 2.239 MB / 447.4 MB, free: 32.11 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)