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: "" <> buildModelFMU(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, 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.001189/0.001189, allocations: 197.9 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.126/1.126, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1725/0.1725, allocations: 22.35 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 380.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2073, allocations: 54.94 MB / 435.2 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002278/0.2096, allocations: 2.437 MB / 437.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.2099, allocations: 239.8 kB / 437.8 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.21, allocations: 12.72 kB / 437.8 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.421e-05/0.2101, allocations: 20.59 kB / 437.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.2102, allocations: 80.47 kB / 437.9 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.274e-05/0.2103, allocations: 37.42 kB / 438 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.2104, allocations: 273 kB / 438.2 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.2106, allocations: 118.5 kB / 438.4 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2107, allocations: 113.3 kB / 438.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.2108, allocations: 92.25 kB / 438.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2108, allocations: 14.22 kB / 438.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.173e-05/0.2109, allocations: 8.031 kB / 438.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.2109, allocations: 40.12 kB / 438.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.211, allocations: 97.39 kB / 438.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.2111, allocations: 219.6 kB / 438.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2111, allocations: 0 / 438.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.12e-07/0.2111, allocations: 0 / 438.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.2111, allocations: 0 / 438.9 MB, free: 37.04 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.0004572/0.2116, allocations: 0.5041 MB / 439.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.2116, allocations: 15.5 kB / 439.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.2117, allocations: 45.02 kB / 439.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.2117, allocations: 29.41 kB / 439.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2119, allocations: 260.5 kB / 439.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.2119, allocations: 7.375 kB / 439.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2119, allocations: 16.75 kB / 439.8 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2121, allocations: 181.8 kB / 440 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2121, allocations: 0 / 440 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2121, allocations: 4 kB / 440 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2121, allocations: 5.562 kB / 440 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.2123, allocations: 93.81 kB / 440.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.2128, allocations: 0.8038 MB / 440.9 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2129, allocations: 75.81 kB / 441 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.213, allocations: 35.83 kB / 441 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.213, allocations: 10.81 kB / 441 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.169e-05/0.213, allocations: 30.56 kB / 441 MB, free: 35.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.213, allocations: 0 / 441 MB, free: 35.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002054/0.2132, allocations: 122.7 kB / 441.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.2133, allocations: 58.25 kB / 441.2 MB, free: 35.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.2134, allocations: 269 kB / 441.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.2135, allocations: 29.7 kB / 441.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.2135, allocations: 145.4 kB / 441.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.2135, allocations: 29.84 kB / 441.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.2136, allocations: 30.44 kB / 441.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.2136, allocations: 332.9 kB / 442 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.2137, allocations: 28.28 kB / 442.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.75e-05/0.2137, allocations: 49.2 kB / 442.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.2141, allocations: 157.6 kB / 442.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2141, allocations: 0 / 442.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001573/0.2143, allocations: 135.1 kB / 442.4 MB, free: 34.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.2143, allocations: 17.91 kB / 442.4 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2143, allocations: 0 / 442.4 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.2143, allocations: 0 / 442.4 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2145, allocations: 33.11 kB / 442.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2145, allocations: 3.938 kB / 442.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.2146, allocations: 15.66 kB / 442.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2146, allocations: 11.95 kB / 442.5 MB, free: 34.21 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.0001154/0.2147, allocations: 147.5 kB / 442.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.2147, allocations: 22 kB / 442.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.2148, allocations: 26.55 kB / 442.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2148, allocations: 0 / 442.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2148, allocations: 7.219 kB / 442.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.2148, allocations: 0 / 442.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.215, allocations: 243.2 kB / 442.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.215, allocations: 0 / 442.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.2151, allocations: 24.66 kB / 442.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2151, allocations: 2.594 kB / 442.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2151, allocations: 4 kB / 442.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2151, allocations: 0 / 442.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2151, allocations: 3.938 kB / 442.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.2153, allocations: 238.1 kB / 443.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.2154, allocations: 95.64 kB / 443.3 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2154, allocations: 7.172 kB / 443.3 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.2155, allocations: 4.062 kB / 443.3 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.2155, allocations: 11.77 kB / 443.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2155, allocations: 4 kB / 443.3 MB, free: 33.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.2156, allocations: 200.3 kB / 443.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2157, allocations: 0 / 443.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.2159, allocations: 34.81 kB / 443.5 MB, free: 33.38 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 0.0002827/0.2162, allocations: 0.7641 MB / 444.3 MB, free: 32.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.2163, allocations: 71.09 kB / 444.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2163, allocations: 0 / 444.4 MB, free: 32.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.297e-05/0.2164, allocations: 38.98 kB / 444.4 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.2167, allocations: 54.88 kB / 444.5 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.2184, allocations: 2.335 MB / 446.8 MB, free: 30.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.888e-05/0.2185, allocations: 0.7375 MB / 447.5 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.2186, allocations: 30.33 kB / 447.6 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.2187, allocations: 65.64 kB / 447.6 MB, free: 30.15 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2187, allocations: 0 / 447.6 MB, free: 30.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.734/3.953, allocations: 4.329 MB / 451.9 MB, free: 29.79 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/3.953, allocations: 197.5 kB / 452.1 MB, free: 29.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/5.839, allocations: 7.141 kB / 452.1 MB, free: 29.53 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001.fmu > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)