Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_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.Devel_test_models.Test_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_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.0008376/0.0008378, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008762/0.0008763, allocations: 177.3 kB / 15.94 MB, free: 228 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.357/1.357, allocations: 223.2 MB / 239.9 MB, free: 5.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2772/0.2772, allocations: 22.36 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 8 kB / 381.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2945, allocations: 55.98 MB / 437.9 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.002396/0.297, allocations: 2.557 MB / 440.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2982, allocations: 1.037 MB / 441.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.2983, allocations: 3.062 kB / 441.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.757e-05/0.2984, allocations: 43.09 kB / 441.5 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.2987, allocations: 175.7 kB / 441.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.2989, allocations: 124.1 kB / 441.8 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.2993, allocations: 484.8 kB / 442.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.2996, allocations: 248.6 kB / 442.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.2999, allocations: 241.2 kB / 442.8 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.3002, allocations: 266.6 kB / 443 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.3002, allocations: 35.16 kB / 443.1 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/0.3003, allocations: 29.56 kB / 443.1 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.3004, allocations: 96.27 kB / 443.2 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.121e-05/0.3005, allocations: 123.5 kB / 443.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.3008, allocations: 0.4982 MB / 443.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.3008, allocations: 0 / 443.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3008, allocations: 0 / 443.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.3008, allocations: 3.938 kB / 443.8 MB, free: 35.59 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001195/0.302, allocations: 0.6947 MB / 444.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3021, allocations: 8.656 kB / 444.5 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.9e-05/0.3022, allocations: 105.2 kB / 444.6 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.3023, allocations: 51.12 kB / 444.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3024, allocations: 222.5 kB / 444.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.3025, allocations: 43.55 kB / 444.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.3025, allocations: 56.19 kB / 445 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.3032, allocations: 495.6 kB / 445.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3033, allocations: 0 / 445.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.3033, allocations: 29.47 kB / 445.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3033, allocations: 14.66 kB / 445.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.304, allocations: 477.3 kB / 446 MB, free: 34.3 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.3061, allocations: 1.469 MB / 447.4 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007777/0.3068, allocations: 0.5069 MB / 448 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.3069, allocations: 8.844 kB / 448 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.3069, allocations: 38 kB / 448 MB, free: 33.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.894e-06/0.3069, allocations: 0 / 448 MB, free: 33.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.00554/0.3125, allocations: 2.421 MB / 450.4 MB, free: 31.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3125, allocations: 59.88 kB / 450.5 MB, free: 31.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3127, allocations: 183.6 kB / 450.7 MB, free: 31.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3127, allocations: 44.23 kB / 450.7 MB, free: 31.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.3128, allocations: 182.7 kB / 450.9 MB, free: 31.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.313, allocations: 272.5 kB / 451.1 MB, free: 31.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.313, allocations: 14.75 kB / 451.2 MB, free: 31.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.3131, allocations: 345.9 kB / 451.5 MB, free: 30.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.3134, allocations: 214.5 kB / 451.7 MB, free: 30.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.3137, allocations: 264.4 kB / 452 MB, free: 30.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.3141, allocations: 248.8 kB / 452.2 MB, free: 30.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3141, allocations: 4 kB / 452.2 MB, free: 30.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001536/0.3157, allocations: 0.7777 MB / 453 MB, free: 30.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3157, allocations: 5.25 kB / 453 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3157, allocations: 0 / 453 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3167, allocations: 197.6 kB / 453.2 MB, free: 30.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/0.3202, allocations: 0.5018 MB / 453.7 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006358/0.3266, allocations: 9.919 MB / 463.6 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.3272, allocations: 30.53 kB / 463.6 MB, free: 20.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.3272, allocations: 17.84 kB / 463.7 MB, free: 20.29 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, 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 (75): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004377/0.3277, allocations: 216.7 kB / 463.9 MB, free: 20.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.3278, allocations: 38.09 kB / 463.9 MB, free: 20.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.3299, allocations: 0.9438 MB / 464.8 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3299, allocations: 8.688 kB / 464.9 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3299, allocations: 13.25 kB / 464.9 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.33, allocations: 7.281 kB / 464.9 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.333, allocations: 1.88 MB / 466.8 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3331, allocations: 5.406 kB / 466.8 MB, free: 18.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/0.3362, allocations: 476.5 kB / 467.2 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.3381, allocations: 351.4 kB / 467.6 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.3382, allocations: 22.97 kB / 467.6 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007137/0.3453, allocations: 10.11 MB / 477.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/0.3454, allocations: 11.47 kB / 477.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/0.3484, allocations: 1.696 MB / 479.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.3486, allocations: 124.4 kB / 479.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.3487, allocations: 25.22 kB / 479.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.3492, allocations: 35.84 kB / 479.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.3494, allocations: 84.44 kB / 479.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.3495, allocations: 35.47 kB / 479.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3496, allocations: 143.8 kB / 479.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3497, allocations: 3.938 kB / 479.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008934/0.3506, allocations: 170.3 kB / 480 MB, free: 6.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003625/0.3542, allocations: 4.049 MB / 484.1 MB, free: 19.2 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.004949/0.3592, allocations: 1.355 MB / 485.4 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.3592, allocations: 1.125 kB / 485.4 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004032/0.3632, allocations: 1.113 MB / 486.5 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.364, allocations: 107.3 kB / 486.6 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.3695, allocations: 3.238 MB / 489.9 MB, free: 16.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.3701, allocations: 0.8553 MB / 490.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004515/0.3705, allocations: 62.94 kB / 490.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.3708, allocations: 153.1 kB / 490.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3708, allocations: 0 / 490.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.4084, allocations: 11.59 MB / 0.4908 GB, free: 9.781 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/0.4087, allocations: 187.5 kB / 0.4909 GB, free: 9.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.5, allocations: 0 / 0.4909 GB, free: 9.547 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_001_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_001.fmu > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1) Environment - environmentSimulation: