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.00483/0.00483, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001151/0.001152, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09431/0.09431, allocations: 22.32 MB / 312.9 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 436.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1036, allocations: 54.96 MB / 491.5 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.005/0.1086, allocations: 4.036 MB / 495.5 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1108, allocations: 1.258 MB / 496.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003624/0.1111, allocations: 3.938 kB / 496.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.1114, allocations: 87.12 kB / 496.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006309/0.112, allocations: 226 kB / 497.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.1125, allocations: 291.5 kB / 497.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.1136, allocations: 1.087 MB / 498.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007637/0.1144, allocations: 496.3 kB / 499 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007299/0.1151, allocations: 434.8 kB / 499.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007368/0.1159, allocations: 462.4 kB / 499.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.1161, allocations: 96 kB / 499.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1164, allocations: 100 kB / 0.4883 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.1166, allocations: 207.4 kB / 0.4885 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.1171, allocations: 430.3 kB / 0.4889 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008901/0.118, allocations: 1.012 MB / 0.4899 GB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.118, allocations: 0 / 0.4899 GB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.118, allocations: 4 kB / 0.4899 GB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.118, allocations: 4 kB / 0.4899 GB, free: 11 MB / 382.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.002044/0.1201, allocations: 1.018 MB / 0.4909 GB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1201, allocations: 8.031 kB / 0.4909 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.1203, allocations: 131.3 kB / 0.4911 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.1204, allocations: 76.47 kB / 0.4911 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1206, allocations: 241.8 kB / 0.4914 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.1207, allocations: 66.31 kB / 0.4914 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.1208, allocations: 88.12 kB / 0.4915 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.122, allocations: 0.7258 MB / 0.4922 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.122, allocations: 0 / 0.4922 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.1221, allocations: 36 kB / 0.4922 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.1221, allocations: 20 kB / 0.4923 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1233, allocations: 0.7495 MB / 0.493 GB, free: 7.754 MB / 382.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.003267/0.1266, allocations: 2.227 MB / 0.4952 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.1287, allocations: 0.9947 MB / 0.4961 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.1293, allocations: 367.7 kB / 0.4965 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.1294, allocations: 20.98 kB / 0.4965 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1294, allocations: 47.5 kB / 0.4966 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003459/0.1298, allocations: 103.4 kB / 0.4967 GB, free: 3.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 2.785e-06/0.1298, allocations: 0 / 0.4967 GB, free: 3.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.2115/0.3413, allocations: 4.176 MB / 0.5007 GB, free: 21.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3414, allocations: 65.34 kB / 0.5008 GB, free: 21.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3416, allocations: 220.4 kB / 0.501 GB, free: 21.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.3419, allocations: 43.48 kB / 0.501 GB, free: 21.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.342, allocations: 226.8 kB / 0.5013 GB, free: 21.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.3423, allocations: 415.7 kB / 0.5017 GB, free: 21.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.3426, allocations: 156 kB / 0.5018 GB, free: 21.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.3426, allocations: 360.9 kB / 0.5022 GB, free: 21.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/0.3432, allocations: 326.2 kB / 0.5025 GB, free: 21.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.3438, allocations: 394.3 kB / 0.5028 GB, free: 20.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/0.358, allocations: 2.845 MB / 0.5056 GB, free: 20.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.358, allocations: 0.7031 kB / 0.5056 GB, free: 20.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004819/0.3628, allocations: 1.503 MB / 0.5071 GB, free: 20.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3629, allocations: 6.031 kB / 0.5071 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3629, allocations: 1.688 kB / 0.5071 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004277/0.3672, allocations: 0.759 MB / 0.5078 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005394/0.3726, allocations: 0.7288 MB / 0.5085 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/0.3877, allocations: 16.05 MB / 0.5242 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.3885, allocations: 31.41 kB / 0.5242 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.3886, allocations: 32.22 kB / 0.5243 GB, free: 7.535 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = 0.0 start = V.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 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 {(2,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003511/0.3889, allocations: 222.3 kB / 0.5245 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.389, allocations: 55.3 kB / 0.5245 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/0.3933, allocations: 1.653 MB / 0.5262 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.3934, allocations: 16.61 kB / 0.5262 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3934, allocations: 3.25 kB / 0.5262 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.3934, allocations: 6 kB / 0.5262 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/0.399, allocations: 2.978 MB / 0.5291 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.3991, allocations: 13.03 kB / 0.5291 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004761/0.4039, allocations: 0.6651 MB / 0.5298 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002718/0.4066, allocations: 0.606 MB / 0.5303 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.4068, allocations: 37.89 kB / 0.5304 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/0.421, allocations: 15.74 MB / 0.5458 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-05/0.421, allocations: 18.06 kB / 0.5458 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.4261, allocations: 2.272 MB / 0.548 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.4265, allocations: 142 kB / 0.5481 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.4266, allocations: 41.3 kB / 0.5482 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/0.4274, allocations: 32.5 kB / 0.5482 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/0.4279, allocations: 137.2 kB / 0.5483 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.019e-05/0.428, allocations: 43.45 kB / 0.5484 GB, free: 4.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.4282, allocations: 167.5 kB / 0.5485 GB, free: 4.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4282, allocations: 4 kB / 0.5485 GB, free: 4.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001624/0.4298, allocations: 278.6 kB / 0.5488 GB, free: 4.57 MB / 398.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 {(2,5,100.0%)} * 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.004943/0.4348, allocations: 2.834 MB / 0.5516 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007645/0.4424, allocations: 2.026 MB / 0.5535 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/0.4425, allocations: 3.938 kB / 0.5535 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006151/0.4486, allocations: 1.651 MB / 0.5552 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.45, allocations: 188.5 kB / 0.5553 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.4657, allocations: 7.208 MB / 0.5624 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.4663, allocations: 0.9209 MB / 0.5633 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005127/0.4668, allocations: 93.19 kB / 0.5634 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.4672, allocations: 223.3 kB / 0.5636 GB, free: 7.582 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4672, allocations: 4 kB / 0.5636 GB, free: 7.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07627/0.5434, allocations: 21.55 MB / 0.5846 GB, free: 2.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.08, allocations: 19.3 kB / 0.5846 GB, free: 2.207 MB / 430.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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_air_circ_002_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 AES_AES_Devel_test_models_Test_air_circ_002.fmu > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)