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.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 195.9 kB / 16.54 MB, free: 6.672 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1934/0.1934, allocations: 22.36 MB / 312.7 MB, free: 12.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.89 kB / 380.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2704, allocations: 54.94 MB / 435.9 MB, free: 39.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.003732/0.2742, allocations: 4.017 MB / 439.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.2758, allocations: 1.271 MB / 441.2 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.276, allocations: 9.188 kB / 441.2 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.2761, allocations: 79.77 kB / 441.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.2766, allocations: 225.9 kB / 441.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.2769, allocations: 286.2 kB / 441.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.2776, allocations: 1.091 MB / 442.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/0.2781, allocations: 497 kB / 443.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.2785, allocations: 422.7 kB / 443.7 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.2789, allocations: 465.2 kB / 444.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.279, allocations: 98.34 kB / 444.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.2791, allocations: 99.03 kB / 444.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2792, allocations: 206.9 kB / 444.6 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.2795, allocations: 437.9 kB / 445 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.2801, allocations: 0.997 MB / 446 MB, free: 33.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2801, allocations: 4 kB / 446 MB, free: 33.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2801, allocations: 0 / 446 MB, free: 33.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.2802, allocations: 0 / 446 MB, free: 33.7 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.001837/0.282, allocations: 1.005 MB / 447 MB, free: 33.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2821, allocations: 8.062 kB / 447 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.2822, allocations: 130 kB / 447.2 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2823, allocations: 72.22 kB / 447.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2825, allocations: 244.3 kB / 447.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.2825, allocations: 69.25 kB / 447.5 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.2826, allocations: 89.88 kB / 447.6 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.2836, allocations: 0.7272 MB / 448.4 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.2837, allocations: 0 / 448.4 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/0.2837, allocations: 31.78 kB / 448.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.2838, allocations: 18.44 kB / 448.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2848, allocations: 0.7508 MB / 449.2 MB, free: 32.01 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.002908/0.2878, allocations: 2.25 MB / 451.4 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.2899, allocations: 0.994 MB / 452.4 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.2904, allocations: 367.9 kB / 452.8 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.2905, allocations: 21.25 kB / 452.8 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2905, allocations: 42.16 kB / 452.8 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000417/0.291, allocations: 97.53 kB / 452.9 MB, free: 30.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 4.559e-06/0.291, allocations: 4 kB / 452.9 MB, free: 30.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01369/0.3047, allocations: 4.172 MB / 457.1 MB, free: 28.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.3047, allocations: 63.53 kB / 457.2 MB, free: 28.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3049, allocations: 215.6 kB / 457.4 MB, free: 28.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.305, allocations: 46.05 kB / 457.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.3051, allocations: 223.4 kB / 457.6 MB, free: 28.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.3053, allocations: 393.8 kB / 458 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.3056, allocations: 157.1 kB / 458.2 MB, free: 27.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.3056, allocations: 356.8 kB / 458.5 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/0.3062, allocations: 324.9 kB / 458.8 MB, free: 27.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.3068, allocations: 399 kB / 459.2 MB, free: 26.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/0.3217, allocations: 2.859 MB / 462.1 MB, free: 26.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3218, allocations: 0 / 462.1 MB, free: 26.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004912/0.3267, allocations: 1.496 MB / 463.6 MB, free: 25.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3268, allocations: 6.812 kB / 463.6 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3268, allocations: 0.75 kB / 463.6 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00437/0.3312, allocations: 0.761 MB / 464.3 MB, free: 25.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/0.3367, allocations: 0.731 MB / 465.1 MB, free: 25.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/0.3518, allocations: 16.08 MB / 481.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.3526, allocations: 29.23 kB / 481.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.3526, allocations: 31.73 kB / 481.2 MB, free: 10.8 MB / 350.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 = 100000.0 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.0003397/0.353, allocations: 212.9 kB / 481.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3531, allocations: 53.58 kB / 481.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/0.3572, allocations: 1.666 MB / 483.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3572, allocations: 12 kB / 483.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3572, allocations: 2.047 kB / 483.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.3573, allocations: 5.672 kB / 483.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/0.3628, allocations: 2.966 MB / 486.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.3628, allocations: 10.22 kB / 486.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004949/0.3678, allocations: 0.6711 MB / 486.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/0.3705, allocations: 0.5996 MB / 487.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.3706, allocations: 40.23 kB / 487.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/0.385, allocations: 15.73 MB / 0.4914 GB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.487e-05/0.385, allocations: 15.98 kB / 0.4914 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005066/0.3901, allocations: 2.261 MB / 0.4936 GB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.3903, allocations: 136.6 kB / 0.4937 GB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.3905, allocations: 32 kB / 0.4938 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.3912, allocations: 35.98 kB / 0.4938 GB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003648/0.3916, allocations: 140.4 kB / 0.4939 GB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.3917, allocations: 44 kB / 0.494 GB, free: 4.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.3919, allocations: 168.1 kB / 0.4941 GB, free: 4.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3919, allocations: 0 / 0.4941 GB, free: 4.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001509/0.3934, allocations: 276 kB / 0.4944 GB, free: 4.172 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 {(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.005338/0.3988, allocations: 2.845 MB / 0.4972 GB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008188/0.407, allocations: 2.045 MB / 0.4992 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.407, allocations: 0 / 0.4992 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006819/0.4139, allocations: 1.642 MB / 0.5008 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.4152, allocations: 193.4 kB / 0.501 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.4316, allocations: 7.291 MB / 0.5081 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.4322, allocations: 0.9287 MB / 0.509 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006756/0.4329, allocations: 89.2 kB / 0.5091 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.4333, allocations: 219.4 kB / 0.5093 GB, free: 4.309 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4333, allocations: 0 / 0.5093 GB, free: 4.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/0.485, allocations: 21.24 MB / 0.53 GB, free: 15.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.23, allocations: 0 / 0.53 GB, free: 15.28 MB / 414.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)