Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_002.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.Devel_test_models.Test_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",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.001032/0.001032, allocations: 91.92 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.001077/0.001078, 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.316/1.316, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1975/0.1975, allocations: 22.35 MB / 313.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003196, allocations: 8 kB / 382 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2935, allocations: 55.98 MB / 438 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.00281/0.2964, allocations: 3.461 MB / 441.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2977, allocations: 1.23 MB / 442.7 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2979, allocations: 5.125 kB / 442.7 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.496e-05/0.298, allocations: 56.86 kB / 442.8 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.2983, allocations: 199.8 kB / 443 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.2986, allocations: 179.5 kB / 443.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.2992, allocations: 0.9837 MB / 444.1 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.2996, allocations: 400.4 kB / 444.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.2999, allocations: 356.7 kB / 444.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.3003, allocations: 413.6 kB / 445.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.3004, allocations: 52.11 kB / 445.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.459e-05/0.3005, allocations: 46.03 kB / 445.4 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.3006, allocations: 149.6 kB / 445.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.3007, allocations: 168.5 kB / 445.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.3012, allocations: 0.7416 MB / 446.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3012, allocations: 3.938 kB / 446.4 MB, free: 34.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3012, allocations: 0 / 446.4 MB, free: 34.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.3012, allocations: 0 / 446.4 MB, free: 34.17 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001572/0.3028, allocations: 0.8726 MB / 447.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3028, allocations: 11.62 kB / 447.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.303, allocations: 130 kB / 447.4 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.768e-05/0.3031, allocations: 70.47 kB / 447.5 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3032, allocations: 243.4 kB / 447.7 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.3033, allocations: 62 kB / 447.8 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.3033, allocations: 81.31 kB / 447.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3044, allocations: 0.7249 MB / 448.6 MB, free: 32.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.3044, allocations: 3.984 kB / 448.6 MB, free: 32.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.3045, allocations: 34.16 kB / 448.6 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3045, allocations: 20.16 kB / 448.7 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.3055, allocations: 0.7415 MB / 449.4 MB, free: 32.57 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.3083, allocations: 2.24 MB / 451.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.3101, allocations: 0.9735 MB / 452.6 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.3106, allocations: 369 kB / 453 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.126e-05/0.3107, allocations: 15.31 kB / 453 MB, free: 30.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3107, allocations: 41.41 kB / 453 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002972/0.311, allocations: 104.3 kB / 453.1 MB, free: 30.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 2.154e-06/0.311, allocations: 0 / 453.1 MB, free: 30.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01208/0.3231, allocations: 4.184 MB / 457.3 MB, free: 29.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.3231, allocations: 63.16 kB / 457.4 MB, free: 28.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3233, allocations: 215.6 kB / 457.6 MB, free: 28.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.3234, allocations: 45.55 kB / 457.6 MB, free: 28.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.3235, allocations: 223.3 kB / 457.9 MB, free: 28.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.3237, allocations: 396.7 kB / 458.2 MB, free: 28.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.3237, allocations: 15.97 kB / 458.3 MB, free: 28.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.3238, allocations: 361.3 kB / 458.6 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.3243, allocations: 324.1 kB / 458.9 MB, free: 27.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.3249, allocations: 391.5 kB / 459.3 MB, free: 27.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.3255, allocations: 378 kB / 459.7 MB, free: 27.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3255, allocations: 0 / 459.7 MB, free: 27.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004448/0.33, allocations: 1.5 MB / 461.2 MB, free: 26.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.33, allocations: 4.406 kB / 461.2 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.33, allocations: 5.953 kB / 461.2 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/0.3341, allocations: 0.776 MB / 462 MB, free: 26.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004888/0.339, allocations: 0.7302 MB / 462.7 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.353, allocations: 14.88 MB / 477.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.3537, allocations: 42.81 kB / 477.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.3538, allocations: 33.56 kB / 477.6 MB, free: 13.12 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {7 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003599/0.3542, allocations: 233.6 kB / 477.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.3543, allocations: 52.16 kB / 477.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004004/0.3583, allocations: 1.669 MB / 479.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.3583, allocations: 12.38 kB / 479.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3583, allocations: 1.375 kB / 479.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.3583, allocations: 10.38 kB / 479.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005398/0.3637, allocations: 2.975 MB / 482.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.3638, allocations: 10.09 kB / 482.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004269/0.368, allocations: 0.6698 MB / 483.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003374/0.3714, allocations: 0.7453 MB / 484 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.3715, allocations: 39.36 kB / 484.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/0.3837, allocations: 14.55 MB / 498.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/0.3838, allocations: 14.31 kB / 498.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004679/0.3884, allocations: 2.257 MB / 0.4891 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.3887, allocations: 142.3 kB / 0.4893 GB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3888, allocations: 35.45 kB / 0.4893 GB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/0.3895, allocations: 53.62 kB / 0.4894 GB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000329/0.3898, allocations: 133.2 kB / 0.4895 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.608e-05/0.3899, allocations: 43.98 kB / 0.4895 GB, free: 10.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.3901, allocations: 168 kB / 0.4897 GB, free: 10.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3901, allocations: 0 / 0.4897 GB, free: 10.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001353/0.3915, allocations: 276 kB / 0.49 GB, free: 10.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 3 (V.Ma,V.p,V.T) * 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 (87): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 4} * Non-linear torn systems: 2 {7 19,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004976/0.3965, allocations: 2.845 MB / 0.4927 GB, free: 7.391 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.006932/0.4034, allocations: 1.99 MB / 0.4947 GB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.4034, allocations: 4 kB / 0.4947 GB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005626/0.4091, allocations: 1.635 MB / 0.4963 GB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.4102, allocations: 187.3 kB / 0.4965 GB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009787/0.42, allocations: 4.634 MB / 0.501 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.4208, allocations: 0.9209 MB / 0.5019 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006618/0.4214, allocations: 97.19 kB / 0.502 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/0.4218, allocations: 219.4 kB / 0.5022 GB, free: 13.42 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4218, allocations: 3.938 kB / 0.5022 GB, free: 13.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.4577, allocations: 19.52 MB / 0.5212 GB, free: 10.17 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/0.4579, allocations: 188.6 kB / 0.5214 GB, free: 9.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.855, allocations: 3.938 kB / 0.5214 GB, free: 9.93 MB / 398.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_002.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_002.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_002_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_002.fmu > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1) Environment - environmentSimulation: