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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001213/0.001213, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2263/0.2263, allocations: 22.36 MB / 312.3 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 55.91 kB / 380.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3076, allocations: 54.95 MB / 435 MB, free: 39.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003652/0.3113, allocations: 2.443 MB / 437.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005383/0.3118, allocations: 238 kB / 437.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.312, allocations: 12.16 kB / 437.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.597e-05/0.3121, allocations: 24.59 kB / 437.8 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.3124, allocations: 83.16 kB / 437.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.3126, allocations: 33.83 kB / 437.9 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.3128, allocations: 277.9 kB / 438.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.3131, allocations: 117 kB / 438.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.3133, allocations: 109.1 kB / 438.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3135, allocations: 90.72 kB / 438.5 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.3135, allocations: 14.44 kB / 438.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.376e-05/0.3136, allocations: 10.78 kB / 438.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.3136, allocations: 37.2 kB / 438.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3138, allocations: 104.2 kB / 438.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.3141, allocations: 221.1 kB / 438.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3141, allocations: 0 / 438.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3141, allocations: 0 / 438.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3141, allocations: 3.938 kB / 438.8 MB, free: 36.95 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.0008319/0.3149, allocations: 0.4974 MB / 439.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.315, allocations: 15.72 kB / 439.3 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.3151, allocations: 24.03 kB / 439.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.3154, allocations: 269.5 kB / 439.6 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3154, allocations: 9.844 kB / 439.6 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.3154, allocations: 12.75 kB / 439.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.3157, allocations: 168.4 kB / 439.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3157, allocations: 4 kB / 439.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.3157, allocations: 2.531 kB / 439.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3158, allocations: 2.719 kB / 439.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.3159, allocations: 103.5 kB / 439.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006595/0.3166, allocations: 0.8002 MB / 440.7 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3167, allocations: 81.89 kB / 440.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.3168, allocations: 36.98 kB / 440.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.3168, allocations: 2.719 kB / 440.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.3169, allocations: 38.56 kB / 440.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3169, allocations: 0 / 440.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002512/0.3171, allocations: 119.8 kB / 441 MB, free: 35.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.3172, allocations: 51.41 kB / 441.1 MB, free: 35.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3174, allocations: 271 kB / 441.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.3174, allocations: 31.89 kB / 441.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.3175, allocations: 149.7 kB / 441.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.3175, allocations: 30.34 kB / 441.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.3175, allocations: 29.23 kB / 441.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.04e-05/0.3176, allocations: 335.3 kB / 441.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.3177, allocations: 22.94 kB / 441.9 MB, free: 34.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.3177, allocations: 51.22 kB / 442 MB, free: 34.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.3182, allocations: 162.2 kB / 442.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3182, allocations: 0 / 442.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001751/0.3184, allocations: 139.8 kB / 442.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3184, allocations: 6.062 kB / 442.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3184, allocations: 6.812 kB / 442.3 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3184, allocations: 0 / 442.3 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.3186, allocations: 29.56 kB / 442.3 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3186, allocations: 7.875 kB / 442.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.764e-05/0.3187, allocations: 17.5 kB / 442.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3187, allocations: 2.844 kB / 442.3 MB, free: 34.18 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.0002195/0.319, allocations: 156.1 kB / 442.5 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.319, allocations: 17.41 kB / 442.5 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.3191, allocations: 23.61 kB / 442.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3191, allocations: 0 / 442.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3191, allocations: 3.938 kB / 442.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3191, allocations: 3.375 kB / 442.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.3193, allocations: 240.6 kB / 442.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3193, allocations: 0 / 442.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.3195, allocations: 18.64 kB / 442.8 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3195, allocations: 4 kB / 442.8 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3195, allocations: 0 / 442.8 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3195, allocations: 6.125 kB / 442.8 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3195, allocations: 3.938 kB / 442.8 MB, free: 33.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.3198, allocations: 240.8 kB / 443 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.3198, allocations: 99.11 kB / 443.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.3199, allocations: 2.781 kB / 443.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.32, allocations: 0 / 443.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.32, allocations: 14.08 kB / 443.1 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.32, allocations: 2.781 kB / 443.1 MB, free: 33.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.3202, allocations: 196.1 kB / 443.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3202, allocations: 0 / 443.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000251/0.3204, allocations: 33.84 kB / 443.4 MB, free: 33.36 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.917e-05/0.3205, allocations: 97.75 kB / 443.5 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.3207, allocations: 73.27 kB / 443.5 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3207, allocations: 128 / 443.5 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.631e-05/0.3208, allocations: 39.92 kB / 443.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3211, allocations: 50.78 kB / 443.6 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.3218, allocations: 0.5391 MB / 444.2 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.322, allocations: 0.7335 MB / 444.9 MB, free: 32.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.3221, allocations: 30.31 kB / 444.9 MB, free: 32.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.3221, allocations: 21.56 kB / 444.9 MB, free: 32.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3221, allocations: 0 / 444.9 MB, free: 32.11 MB / 350.1 MB Notification: Performance of Templates: time 0.00442/0.3266, allocations: 2.14 MB / 447.1 MB, free: 31.96 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)