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.0008171/0.000817, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008848/0.0008848, allocations: 168.7 kB / 15.95 MB, free: 200 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.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2146/0.2146, allocations: 22.35 MB / 313.4 MB, free: 13.22 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 8 kB / 382.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2642, allocations: 55.97 MB / 438 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.002207/0.2665, allocations: 2.8 MB / 440.8 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2675, allocations: 1.025 MB / 441.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2677, allocations: 2.594 kB / 441.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.573e-05/0.2677, allocations: 38.92 kB / 441.9 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.268, allocations: 147.5 kB / 442 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.2682, allocations: 123.2 kB / 442.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.2686, allocations: 0.6983 MB / 442.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.2689, allocations: 248.2 kB / 443.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.2691, allocations: 232.6 kB / 443.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.2694, allocations: 262.8 kB / 443.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.2694, allocations: 33.66 kB / 443.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.2695, allocations: 28.84 kB / 443.6 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.2696, allocations: 102.5 kB / 443.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.368e-05/0.2697, allocations: 125.9 kB / 443.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.27, allocations: 0.4933 MB / 444.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.27, allocations: 0 / 444.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.27, allocations: 2.656 kB / 444.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.27, allocations: 0 / 444.4 MB, free: 35.43 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.001123/0.2711, allocations: 0.6952 MB / 445.1 MB, free: 34.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2712, allocations: 10.28 kB / 445.1 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.154e-05/0.2713, allocations: 98.41 kB / 445.2 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.2713, allocations: 49.16 kB / 445.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2715, allocations: 219.2 kB / 445.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.2715, allocations: 44.03 kB / 445.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.2716, allocations: 59.16 kB / 445.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.2723, allocations: 497.5 kB / 446 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2723, allocations: 0 / 446 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.2723, allocations: 29.66 kB / 446 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.2723, allocations: 13.62 kB / 446.1 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.273, allocations: 487.7 kB / 446.5 MB, free: 34.14 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.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 = 291.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.2749, allocations: 1.64 MB / 448.2 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.2756, allocations: 0.5028 MB / 448.7 MB, free: 32.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.2759, allocations: 220 kB / 448.9 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.276, allocations: 19.73 kB / 448.9 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.276, allocations: 45.78 kB / 449 MB, free: 32.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.683e-06/0.276, allocations: 0 / 449 MB, free: 32.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005283/0.2813, allocations: 2.413 MB / 451.4 MB, free: 31.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.2813, allocations: 60.47 kB / 451.4 MB, free: 31.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.2815, allocations: 181.3 kB / 451.6 MB, free: 31.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.2815, allocations: 40.95 kB / 451.6 MB, free: 31.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.2816, allocations: 190 kB / 451.8 MB, free: 31.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.2817, allocations: 270.3 kB / 452.1 MB, free: 30.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2818, allocations: 10.47 kB / 452.1 MB, free: 30.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.441e-05/0.2818, allocations: 353.1 kB / 452.4 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.2822, allocations: 209.7 kB / 452.6 MB, free: 30.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.2825, allocations: 264.2 kB / 452.9 MB, free: 30.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.2829, allocations: 251.4 kB / 453.2 MB, free: 30.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2829, allocations: 0 / 453.2 MB, free: 30.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001493/0.2844, allocations: 0.7754 MB / 453.9 MB, free: 29.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2844, allocations: 10.75 kB / 453.9 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2844, allocations: 0 / 453.9 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009304/0.2854, allocations: 196.3 kB / 454.1 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/0.2887, allocations: 0.5067 MB / 454.6 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/0.2946, allocations: 9.855 MB / 464.5 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.295, allocations: 41.89 kB / 464.5 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.2951, allocations: 18.25 kB / 464.5 MB, free: 19.86 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.0003091/0.2954, allocations: 221.6 kB / 464.8 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.2954, allocations: 35.97 kB / 464.8 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.2975, allocations: 0.9399 MB / 465.7 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2975, allocations: 11.67 kB / 465.8 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2976, allocations: 2.312 kB / 465.8 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2976, allocations: 3.328 kB / 465.8 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.3009, allocations: 1.879 MB / 467.6 MB, free: 18.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.3009, allocations: 5.719 kB / 467.6 MB, free: 18.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/0.3042, allocations: 476.1 kB / 468.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.3062, allocations: 359.4 kB / 468.5 MB, free: 17.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.3063, allocations: 23.3 kB / 468.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007022/0.3133, allocations: 10.05 MB / 478.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.3133, allocations: 14.47 kB / 478.5 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.3158, allocations: 1.389 MB / 479.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.3159, allocations: 124.7 kB / 480.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.316, allocations: 20.44 kB / 480.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.3164, allocations: 43.47 kB / 480.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.3166, allocations: 88.38 kB / 480.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.3166, allocations: 27.67 kB / 480.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.3168, allocations: 138.9 kB / 480.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3168, allocations: 1.281 kB / 480.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007993/0.3176, allocations: 169.8 kB / 480.5 MB, free: 6.852 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.002853/0.3204, allocations: 1.954 MB / 482.5 MB, free: 5.449 MB / 350.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.004715/0.3252, allocations: 1.353 MB / 483.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3252, allocations: 0 / 483.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003692/0.3289, allocations: 1.116 MB / 485 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.3297, allocations: 136.4 kB / 485.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/0.3352, allocations: 3.075 MB / 488.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.3357, allocations: 0.8429 MB / 489 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.3361, allocations: 63.73 kB / 489.1 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.3364, allocations: 152.3 kB / 489.2 MB, free: 17.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3364, allocations: 1.625 kB / 489.2 MB, free: 17.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.3645, allocations: 11.63 MB / 0.4891 GB, free: 11.78 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.3647, allocations: 192.3 kB / 0.4893 GB, free: 11.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/2.491, allocations: 0 / 0.4893 GB, free: 11.54 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: