Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",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.0009915/0.0009915, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.000976/0.0009761, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.197/1.197, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1794/0.1794, allocations: 22.36 MB / 312.4 MB, free: 12.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 380.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2145, allocations: 54.93 MB / 435.4 MB, free: 39.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.002961/0.2175, allocations: 3.54 MB / 438.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.2185, allocations: 1.105 MB / 440 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2186, allocations: 2.75 kB / 440 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.364e-05/0.2187, allocations: 46.2 kB / 440 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.219, allocations: 158.8 kB / 440.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2192, allocations: 190.6 kB / 440.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.2197, allocations: 0.842 MB / 441.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.22, allocations: 444 kB / 441.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.2203, allocations: 346 kB / 442 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.2205, allocations: 394.2 kB / 442.4 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.97e-05/0.2206, allocations: 80.44 kB / 442.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-05/0.2207, allocations: 83.94 kB / 442.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.2208, allocations: 170.4 kB / 442.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.221, allocations: 364.5 kB / 443.1 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.2214, allocations: 0.8102 MB / 443.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2214, allocations: 4 kB / 443.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2214, allocations: 2.844 kB / 443.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.2214, allocations: 3.938 kB / 443.9 MB, free: 34.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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001441/0.2229, allocations: 0.8668 MB / 444.8 MB, free: 34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2229, allocations: 11.72 kB / 444.8 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.776e-05/0.223, allocations: 104.7 kB / 444.9 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.2231, allocations: 57.53 kB / 444.9 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2232, allocations: 228.5 kB / 445.2 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.2232, allocations: 45.75 kB / 445.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.2233, allocations: 74.81 kB / 445.3 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/0.2241, allocations: 0.6003 MB / 445.9 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2241, allocations: 7.984 kB / 445.9 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.2242, allocations: 29.22 kB / 445.9 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2242, allocations: 14.66 kB / 445.9 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/0.225, allocations: 0.61 MB / 446.5 MB, free: 33.11 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.00231/0.2274, allocations: 1.939 MB / 448.5 MB, free: 31.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.2285, allocations: 0.6834 MB / 449.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.2289, allocations: 311.3 kB / 449.5 MB, free: 31.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.229, allocations: 17.17 kB / 449.5 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.229, allocations: 42.12 kB / 449.5 MB, free: 31.48 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004003/0.2294, allocations: 104.6 kB / 449.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 1.943e-06/0.2294, allocations: 0 / 449.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.00603/0.2354, allocations: 2.908 MB / 452.5 MB, free: 29.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.2355, allocations: 66.34 kB / 452.6 MB, free: 29.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2356, allocations: 201.3 kB / 452.8 MB, free: 29.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.2357, allocations: 40.86 kB / 452.8 MB, free: 29.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.2357, allocations: 196.5 kB / 453 MB, free: 29.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.2359, allocations: 303.1 kB / 453.3 MB, free: 29.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.236, allocations: 134.2 kB / 453.4 MB, free: 29.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.2361, allocations: 353 kB / 453.8 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.2365, allocations: 278.9 kB / 454.1 MB, free: 28.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.237, allocations: 338.9 kB / 454.4 MB, free: 28.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/0.2509, allocations: 2.829 MB / 457.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2509, allocations: 0 / 457.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001779/0.2527, allocations: 0.9345 MB / 458.2 MB, free: 27.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2527, allocations: 6.062 kB / 458.2 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2527, allocations: 3.938 kB / 458.2 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008909/0.2536, allocations: 191 kB / 458.4 MB, free: 27.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/0.2576, allocations: 0.5452 MB / 458.9 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/0.2633, allocations: 10.62 MB / 469.5 MB, free: 16.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.2638, allocations: 40.78 kB / 469.6 MB, free: 16.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.2639, allocations: 32.36 kB / 469.6 MB, free: 16.82 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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 (87): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002844/0.2642, allocations: 211.8 kB / 469.8 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.2643, allocations: 38.47 kB / 469.8 MB, free: 16.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.2666, allocations: 1.176 MB / 471 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.2666, allocations: 9.812 kB / 471 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2666, allocations: 5.281 kB / 471 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.2666, allocations: 9.625 kB / 471 MB, free: 16.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.2698, allocations: 2.133 MB / 473.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.2698, allocations: 7.438 kB / 473.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003437/0.2732, allocations: 0.4951 MB / 473.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.275, allocations: 343.7 kB / 474 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/0.2751, allocations: 27.03 kB / 474 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006032/0.2812, allocations: 10.87 MB / 484.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.2812, allocations: 10.59 kB / 484.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.2837, allocations: 1.667 MB / 486.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.2838, allocations: 126.3 kB / 486.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.2839, allocations: 28.73 kB / 486.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005085/0.2844, allocations: 46.91 kB / 486.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.2845, allocations: 96.58 kB / 486.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.2846, allocations: 35.86 kB / 486.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.2847, allocations: 151.5 kB / 487.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2847, allocations: 4 kB / 487.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007747/0.2855, allocations: 203 kB / 487.3 MB, free: 2.676 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 (86): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002794/0.2883, allocations: 2.234 MB / 489.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00521/0.2935, allocations: 1.545 MB / 491 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2935, allocations: 1.062 kB / 491 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004146/0.2977, allocations: 1.2 MB / 492.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008115/0.2985, allocations: 155 kB / 492.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007903/0.3064, allocations: 5.728 MB / 498.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3068, allocations: 0.8631 MB / 499 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005066/0.3073, allocations: 91.38 kB / 499.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.3077, allocations: 195.6 kB / 499.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3077, allocations: 0 / 499.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.648/2.956, allocations: 15 MB / 0.5022 GB, free: 12.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/2.956, allocations: 209.4 kB / 0.5024 GB, free: 11.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/5.042, allocations: 4 kB / 0.5024 GB, free: 11.96 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_003_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_003.fmu > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)