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.006021/0.006021, allocations: 102.2 kB / 15.73 MB, free: 6.062 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.001175/0.001175, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08878/0.08878, allocations: 22.32 MB / 312.9 MB, free: 8.855 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 68.14 kB / 436.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1012, allocations: 54.95 MB / 491.5 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.005047/0.1063, allocations: 3.517 MB / 495 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1083, allocations: 1.11 MB / 496.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.1086, allocations: 0 / 496.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1088, allocations: 71.28 kB / 496.2 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006165/0.1095, allocations: 178.4 kB / 496.4 MB, free: 424 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.11, allocations: 215.7 kB / 496.6 MB, free: 208 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009834/0.111, allocations: 0.8417 MB / 497.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.1116, allocations: 447.8 kB / 497.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/0.1122, allocations: 351 kB / 498.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.1127, allocations: 398.7 kB / 498.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.1129, allocations: 84 kB / 498.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1131, allocations: 80 kB / 498.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1132, allocations: 171.5 kB / 498.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.1136, allocations: 354.6 kB / 499.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007425/0.1144, allocations: 0.8213 MB / 0.4884 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1144, allocations: 4 kB / 0.4884 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1144, allocations: 0 / 0.4884 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1144, allocations: 0 / 0.4884 GB, free: 12.68 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00171/0.1161, allocations: 0.8849 MB / 0.4892 GB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1162, allocations: 8.031 kB / 0.4893 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.1163, allocations: 102.7 kB / 0.4894 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1164, allocations: 60.59 kB / 0.4894 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1166, allocations: 239.6 kB / 0.4896 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.1166, allocations: 49.69 kB / 0.4897 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.753e-05/0.1167, allocations: 64.12 kB / 0.4897 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009836/0.1177, allocations: 0.6038 MB / 0.4903 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1177, allocations: 0 / 0.4903 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.1178, allocations: 24 kB / 0.4904 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1178, allocations: 16 kB / 0.4904 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.1189, allocations: 0.6024 MB / 0.491 GB, free: 9.926 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.003239/0.1222, allocations: 1.949 MB / 0.4929 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.1237, allocations: 0.686 MB / 0.4935 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.1242, allocations: 310.7 kB / 0.4938 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.686e-05/0.1243, allocations: 13.42 kB / 0.4938 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1243, allocations: 47.2 kB / 0.4939 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000438/0.1248, allocations: 107.5 kB / 0.494 GB, free: 6.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 3.066e-06/0.1248, allocations: 0 / 0.494 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.007298/0.1321, allocations: 2.925 MB / 0.4969 GB, free: 3.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.1322, allocations: 64.34 kB / 0.4969 GB, free: 3.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1324, allocations: 194.9 kB / 0.4971 GB, free: 3.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.1325, allocations: 45.7 kB / 0.4971 GB, free: 3.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1327, allocations: 197.4 kB / 0.4973 GB, free: 3.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.133, allocations: 321.2 kB / 0.4976 GB, free: 2.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.1332, allocations: 134.6 kB / 0.4978 GB, free: 2.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1334, allocations: 350.7 kB / 0.4981 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.134, allocations: 273.9 kB / 0.4984 GB, free: 2.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.1346, allocations: 340.6 kB / 0.4987 GB, free: 1.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2178/0.3523, allocations: 2.816 MB / 0.5014 GB, free: 21.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3524, allocations: 1.5 kB / 0.5014 GB, free: 21.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001914/0.3543, allocations: 0.9353 MB / 0.5024 GB, free: 21.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3543, allocations: 10.5 kB / 0.5024 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3544, allocations: 0.75 kB / 0.5024 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/0.3553, allocations: 188.8 kB / 0.5025 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003791/0.3591, allocations: 0.5445 MB / 0.5031 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.3655, allocations: 10.62 MB / 0.5134 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.3661, allocations: 23.58 kB / 0.5135 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.3662, allocations: 31.7 kB / 0.5135 GB, free: 11.36 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 (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.0003253/0.3665, allocations: 194.7 kB / 0.5137 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.879e-05/0.3666, allocations: 44.36 kB / 0.5137 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.3692, allocations: 1.177 MB / 0.5149 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3692, allocations: 12.03 kB / 0.5149 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3692, allocations: 1.594 kB / 0.5149 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.3692, allocations: 5.156 kB / 0.5149 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.3726, allocations: 2.141 MB / 0.517 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3726, allocations: 5.938 kB / 0.517 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/0.376, allocations: 0.4927 MB / 0.5175 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.3778, allocations: 345.8 kB / 0.5178 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.131e-05/0.3779, allocations: 27.86 kB / 0.5178 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006426/0.3843, allocations: 10.86 MB / 0.5284 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.3844, allocations: 10.88 kB / 0.5284 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/0.3872, allocations: 1.678 MB / 0.5301 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3873, allocations: 132.3 kB / 0.5302 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.3874, allocations: 27.31 kB / 0.5302 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.3879, allocations: 26.52 kB / 0.5303 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.3881, allocations: 96.73 kB / 0.5304 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.3882, allocations: 34.42 kB / 0.5304 GB, free: 15.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.3883, allocations: 147.5 kB / 0.5305 GB, free: 15.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3884, allocations: 4 kB / 0.5305 GB, free: 15.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008392/0.3892, allocations: 193.8 kB / 0.5307 GB, free: 15.67 MB / 398.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.003317/0.3925, allocations: 2.238 MB / 0.5329 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004908/0.3974, allocations: 1.524 MB / 0.5344 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3975, allocations: 1.125 kB / 0.5344 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004022/0.4015, allocations: 1.205 MB / 0.5356 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009043/0.4024, allocations: 153.9 kB / 0.5357 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008531/0.4109, allocations: 5.45 MB / 0.541 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.4115, allocations: 0.8704 MB / 0.5419 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004743/0.4119, allocations: 85.81 kB / 0.542 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.4123, allocations: 186.6 kB / 0.5421 GB, free: 9.137 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4123, allocations: 0 / 0.5421 GB, free: 9.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/0.4751, allocations: 15.37 MB / 0.5572 GB, free: 14.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.82, allocations: 17.14 kB / 0.5572 GB, free: 14.85 MB / 414.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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_air_circ_003_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_003.fmu > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)