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.001014/0.001014, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.006104/0.006104, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1936/0.1936, allocations: 22.34 MB / 313.8 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004311, allocations: 8 kB / 382.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 55.97 MB / 438.7 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.002534/0.2437, allocations: 3.645 MB / 442.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2449, allocations: 1.265 MB / 443.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.2451, allocations: 5.938 kB / 443.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.835e-05/0.2452, allocations: 57.8 kB / 443.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.2456, allocations: 199.2 kB / 443.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.2458, allocations: 251.8 kB / 444.1 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005624/0.2464, allocations: 1.027 MB / 445.1 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.2468, allocations: 410.3 kB / 445.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.2471, allocations: 359.2 kB / 445.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.2475, allocations: 427.3 kB / 446.3 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.43e-05/0.2476, allocations: 50.19 kB / 446.3 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.2477, allocations: 46.38 kB / 446.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.2478, allocations: 160.1 kB / 446.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.248, allocations: 404.6 kB / 446.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.2485, allocations: 0.9475 MB / 447.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2485, allocations: 0 / 447.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2485, allocations: 0 / 447.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.2485, allocations: 0 / 447.9 MB, free: 33.86 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.001654/0.2502, allocations: 0.8722 MB / 448.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2503, allocations: 14.81 kB / 448.8 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.2504, allocations: 128.8 kB / 448.9 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.2505, allocations: 73.56 kB / 449 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2506, allocations: 245.7 kB / 449.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.2507, allocations: 58.69 kB / 449.3 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.2508, allocations: 88.22 kB / 449.3 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.2519, allocations: 0.7263 MB / 450.1 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.2519, allocations: 0 / 450.1 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.252, allocations: 42.3 kB / 450.1 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.252, allocations: 21.22 kB / 450.1 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2531, allocations: 0.7489 MB / 450.9 MB, free: 32.23 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.002771/0.2559, allocations: 2.233 MB / 453.1 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.2578, allocations: 0.9916 MB / 454.1 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/0.2583, allocations: 366 kB / 454.5 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/0.2584, allocations: 11.75 kB / 454.5 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.2584, allocations: 48.56 kB / 454.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003383/0.2588, allocations: 105.1 kB / 454.6 MB, free: 30.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 2.264e-06/0.2588, allocations: 0 / 454.6 MB, free: 30.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01389/0.2727, allocations: 4.215 MB / 458.8 MB, free: 28.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.2727, allocations: 63.69 kB / 458.9 MB, free: 28.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.2729, allocations: 213.4 kB / 459.1 MB, free: 28.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.273, allocations: 49.39 kB / 459.2 MB, free: 28.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.2731, allocations: 223.5 kB / 459.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.2733, allocations: 390.4 kB / 459.8 MB, free: 27.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2734, allocations: 81.67 kB / 459.8 MB, free: 27.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.2735, allocations: 357.1 kB / 460.2 MB, free: 27.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.274, allocations: 323.8 kB / 460.5 MB, free: 27.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/0.2747, allocations: 398 kB / 460.9 MB, free: 27.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/0.2902, allocations: 2.907 MB / 463.8 MB, free: 26.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2902, allocations: 4.5 kB / 463.8 MB, free: 26.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00513/0.2953, allocations: 1.514 MB / 465.3 MB, free: 25.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2954, allocations: 4.844 kB / 465.3 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.2954, allocations: 2.141 kB / 465.3 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00477/0.3002, allocations: 0.7794 MB / 466.1 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/0.3059, allocations: 0.7276 MB / 466.8 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/0.3209, allocations: 14.9 MB / 481.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.3217, allocations: 47.09 kB / 481.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.3218, allocations: 34.88 kB / 481.8 MB, free: 12.19 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 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 {(3,4,77.8%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003596/0.3222, allocations: 236.4 kB / 482 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.8e-05/0.3223, allocations: 50.16 kB / 482.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/0.3267, allocations: 1.675 MB / 483.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3267, allocations: 12.48 kB / 483.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3267, allocations: 1.25 kB / 483.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.3268, allocations: 9.906 kB / 483.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005851/0.3326, allocations: 2.987 MB / 486.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.3326, allocations: 9.875 kB / 486.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005027/0.3377, allocations: 0.6687 MB / 487.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003786/0.3415, allocations: 0.7512 MB / 488.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.3416, allocations: 37 kB / 488.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.3546, allocations: 14.57 MB / 0.491 GB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.3546, allocations: 15.94 kB / 0.491 GB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004931/0.3596, allocations: 2.273 MB / 0.4933 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.3597, allocations: 136.5 kB / 0.4934 GB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3598, allocations: 39.92 kB / 0.4934 GB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/0.3606, allocations: 51.89 kB / 0.4935 GB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.3608, allocations: 140.5 kB / 0.4936 GB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/0.3609, allocations: 39.98 kB / 0.4936 GB, free: 7.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3611, allocations: 176.1 kB / 0.4938 GB, free: 6.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3611, allocations: 0 / 0.4938 GB, free: 6.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001173/0.3622, allocations: 268 kB / 0.4941 GB, free: 6.695 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 (not torn): 6 * 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): 6 systems {1, 1, 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): 1 system {(3,4,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,19), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005211/0.3675, allocations: 2.849 MB / 0.4968 GB, free: 3.691 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.007687/0.3752, allocations: 1.994 MB / 0.4988 GB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3752, allocations: 4 kB / 0.4988 GB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006557/0.3817, allocations: 1.654 MB / 0.5004 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.3831, allocations: 189.1 kB / 0.5006 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/0.3992, allocations: 7.688 MB / 0.5081 GB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.3997, allocations: 0.9248 MB / 0.509 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006103/0.4003, allocations: 93.19 kB / 0.5091 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.4007, allocations: 219.4 kB / 0.5093 GB, free: 6.484 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4007, allocations: 0 / 0.5093 GB, free: 6.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4673/0.868, allocations: 19.98 MB / 0.5288 GB, free: 2.758 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.8682, allocations: 216.6 kB / 0.529 GB, free: 2.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.27, allocations: 0 / 0.529 GB, free: 2.496 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/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)