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.0008549/0.000855, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009456/0.0009456, allocations: 172.7 kB / 15.95 MB, free: 208 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.28/1.28, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2001/0.2001, allocations: 22.35 MB / 313.4 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003868, allocations: 8 kB / 382 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2869, allocations: 55.98 MB / 438 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.001797/0.2887, allocations: 2.005 MB / 440 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003326/0.2891, allocations: 233.9 kB / 440.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2892, allocations: 12.97 kB / 440.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.029e-05/0.2893, allocations: 25.31 kB / 440.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2895, allocations: 102.3 kB / 440.4 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.2896, allocations: 24.97 kB / 440.4 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.2898, allocations: 274.6 kB / 440.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.29, allocations: 101.6 kB / 440.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2902, allocations: 109.5 kB / 440.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2903, allocations: 85 kB / 441 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.2903, allocations: 9.25 kB / 441 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.952e-05/0.2903, allocations: 12.91 kB / 441 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.2904, allocations: 29.39 kB / 441 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.2904, allocations: 70.89 kB / 441.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2905, allocations: 149.5 kB / 441.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2905, allocations: 0 / 441.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2905, allocations: 2.625 kB / 441.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2905, allocations: 0 / 441.2 MB, free: 37.1 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.0004994/0.291, allocations: 495.2 kB / 441.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2911, allocations: 11.09 kB / 441.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.2911, allocations: 45.03 kB / 441.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2912, allocations: 23.19 kB / 441.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2914, allocations: 268.9 kB / 442.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2914, allocations: 6.938 kB / 442.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.2914, allocations: 13.81 kB / 442.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.2917, allocations: 169.4 kB / 442.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2917, allocations: 3.953 kB / 442.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2917, allocations: 7.125 kB / 442.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2917, allocations: 3.062 kB / 442.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.2919, allocations: 92.39 kB / 442.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.2925, allocations: 0.7984 MB / 443.2 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.2926, allocations: 81.08 kB / 443.2 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.2927, allocations: 41.77 kB / 443.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.2927, allocations: 7.938 kB / 443.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.09e-05/0.2927, allocations: 37.5 kB / 443.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2927, allocations: 0 / 443.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002279/0.2929, allocations: 126.1 kB / 443.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.293, allocations: 51.41 kB / 443.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.2932, allocations: 267.4 kB / 443.8 MB, free: 35.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2932, allocations: 29.7 kB / 443.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.2932, allocations: 149.2 kB / 443.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.2933, allocations: 30.34 kB / 444 MB, free: 34.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2933, allocations: 0 / 444 MB, free: 34.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.2933, allocations: 338.5 kB / 444.3 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.2934, allocations: 30.06 kB / 444.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.2934, allocations: 48.27 kB / 444.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.633e-05/0.2935, allocations: 39.88 kB / 444.4 MB, free: 34.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2935, allocations: 0 / 444.4 MB, free: 34.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001682/0.2937, allocations: 133.4 kB / 444.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2937, allocations: 15.78 kB / 444.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2937, allocations: 0 / 444.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2937, allocations: 3.062 kB / 444.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2939, allocations: 23.06 kB / 444.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2939, allocations: 3.938 kB / 444.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.294, allocations: 25.38 kB / 444.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.294, allocations: 6.906 kB / 444.6 MB, free: 34.37 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.0001389/0.2942, allocations: 129.5 kB / 444.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.2942, allocations: 24.34 kB / 444.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.2942, allocations: 26.52 kB / 444.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2942, allocations: 2.562 kB / 444.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2943, allocations: 4 kB / 444.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2943, allocations: 0 / 444.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.2944, allocations: 245.2 kB / 445 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2945, allocations: 0 / 445 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2946, allocations: 20.81 kB / 445 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2946, allocations: 0 / 445 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.2946, allocations: 0 / 445 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2946, allocations: 3.953 kB / 445.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2946, allocations: 7.094 kB / 445.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.2948, allocations: 238 kB / 445.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.2949, allocations: 94.08 kB / 445.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.2949, allocations: 6.781 kB / 445.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.295, allocations: 3.328 kB / 445.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.2951, allocations: 7.859 kB / 445.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.2951, allocations: 0 / 445.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.2952, allocations: 196.7 kB / 445.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2952, allocations: 0 / 445.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.2955, allocations: 33.25 kB / 445.6 MB, free: 33.57 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 0.0003311/0.2958, allocations: 0.7719 MB / 446.4 MB, free: 32.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.2959, allocations: 74.7 kB / 446.5 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.296, allocations: 0 / 446.5 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.296, allocations: 32.34 kB / 446.5 MB, free: 32.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.2963, allocations: 52.33 kB / 446.6 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.2978, allocations: 1.35 MB / 447.9 MB, free: 32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.2979, allocations: 0.7288 MB / 448.6 MB, free: 31.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.2981, allocations: 34.12 kB / 448.7 MB, free: 31.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.2981, allocations: 65.81 kB / 448.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2981, allocations: 0 / 448.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.3105, allocations: 4.275 MB / 453 MB, free: 30.96 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001098/0.3106, allocations: 186.8 kB / 453.2 MB, free: 30.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.971, allocations: 3.391 kB / 453.2 MB, free: 30.72 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/linux/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) Environment - environmentSimulation: