Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 100.3 kB / 19.72 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 207.5 kB / 23.01 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1084/0.1084, allocations: 24.03 MB / 337.2 MB, free: 11.36 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 71.89 kB / 473.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3337, allocations: 59.58 MB / 0.5209 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004034/0.3377, allocations: 3.246 MB / 0.5241 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3394, allocations: 1.069 MB / 0.5251 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.3396, allocations: 4.219 kB / 0.5251 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.3397, allocations: 65.67 kB / 0.5252 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.3402, allocations: 185.8 kB / 0.5254 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.3405, allocations: 207.4 kB / 0.5256 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.3412, allocations: 0.8285 MB / 0.5264 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.3416, allocations: 302.7 kB / 0.5267 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.3419, allocations: 314.1 kB / 0.527 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.3423, allocations: 296.7 kB / 0.5272 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.527e-05/0.3424, allocations: 72.69 kB / 0.5273 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3425, allocations: 72.94 kB / 0.5274 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3426, allocations: 149.4 kB / 0.5275 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.3429, allocations: 283.6 kB / 0.5278 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.3435, allocations: 0.7502 MB / 0.5285 GB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3435, allocations: 1.219 kB / 0.5285 GB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3435, allocations: 3.938 kB / 0.5285 GB, free: 5.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3435, allocations: 0 / 0.5285 GB, free: 5.516 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001494/0.345, allocations: 0.7728 MB / 0.5293 GB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3451, allocations: 10.3 kB / 0.5293 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.3452, allocations: 106.8 kB / 0.5294 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.3453, allocations: 62.41 kB / 0.5295 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.3455, allocations: 172.4 kB / 0.5296 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.3455, allocations: 51.31 kB / 0.5297 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/0.3456, allocations: 67.72 kB / 0.5297 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009369/0.3466, allocations: 0.5438 MB / 0.5303 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.3466, allocations: 0 / 0.5303 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.3466, allocations: 25.5 kB / 0.5303 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.3466, allocations: 24.19 kB / 0.5303 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/0.3475, allocations: 499.5 kB / 0.5308 GB, free: 4.234 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/0.35, allocations: 1.391 MB / 0.5322 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.3512, allocations: 0.5406 MB / 0.5327 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.3516, allocations: 220.2 kB / 0.5329 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.3517, allocations: 8.406 kB / 0.5329 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3517, allocations: 40.19 kB / 0.5329 GB, free: 3.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.565e-06/0.3517, allocations: 0 / 0.5329 GB, free: 3.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.01278/0.3645, allocations: 3.562 MB / 0.5364 GB, free: 1.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.3645, allocations: 61.22 kB / 0.5365 GB, free: 1.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3647, allocations: 144.7 kB / 0.5366 GB, free: 1.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.3648, allocations: 41.86 kB / 0.5367 GB, free: 1.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3649, allocations: 230.7 kB / 0.5369 GB, free: 1.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.3652, allocations: 315.8 kB / 0.5372 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.3654, allocations: 115.2 kB / 0.5373 GB, free: 1.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3655, allocations: 350.6 kB / 0.5376 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.366, allocations: 268.7 kB / 0.5379 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.3666, allocations: 334.7 kB / 0.5382 GB, free: 428 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.3771, allocations: 2.163 MB / 0.5403 GB, free: 15.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3771, allocations: 0 / 0.5403 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003241/0.3804, allocations: 1.078 MB / 0.5414 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3804, allocations: 5.969 kB / 0.5414 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3804, allocations: 2.172 kB / 0.5414 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.3825, allocations: 412.6 kB / 0.5418 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/0.3855, allocations: 432.5 kB / 0.5422 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/0.3984, allocations: 13.17 MB / 0.555 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.399, allocations: 18.5 kB / 0.5551 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/0.3991, allocations: 36.67 kB / 0.5551 GB, free: 2.043 MB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = 0.0 start = V1.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = 0.0 start = V1.Tstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = 0.0 start = V2.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = 0.0 start = V2.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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000399/0.3995, allocations: 204.4 kB / 0.5553 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.181e-05/0.3996, allocations: 35.77 kB / 0.5553 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/0.4031, allocations: 1.258 MB / 0.5565 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.4031, allocations: 9.219 kB / 0.5566 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4031, allocations: 2.312 kB / 0.5566 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4032, allocations: 3.984 kB / 0.5566 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/0.4075, allocations: 1.851 MB / 0.5584 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4075, allocations: 5.312 kB / 0.5584 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002762/0.4103, allocations: 388.7 kB / 0.5587 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004003/0.4143, allocations: 0.6842 MB / 0.5594 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4144, allocations: 25.73 kB / 0.5594 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/0.4297, allocations: 13.69 MB / 0.5728 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.4297, allocations: 1.219 kB / 0.5728 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004348/0.434, allocations: 1.693 MB / 0.5745 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.4341, allocations: 35.86 kB / 0.5745 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.4342, allocations: 25.08 kB / 0.5745 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.4347, allocations: 18.22 kB / 0.5745 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.435, allocations: 93.14 kB / 0.5746 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.4351, allocations: 28.83 kB / 0.5746 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.4352, allocations: 111.3 kB / 0.5748 GB, free: 0.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4352, allocations: 0 / 0.5748 GB, free: 0.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001162/0.4363, allocations: 216.1 kB / 0.575 GB, free: 0.7617 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004591/0.4409, allocations: 2.262 MB / 0.5772 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005327/0.4462, allocations: 1.764 MB / 0.5789 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.4462, allocations: 7.938 kB / 0.5789 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004549/0.4508, allocations: 1.521 MB / 0.5804 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.4515, allocations: 107 kB / 0.5805 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.4626, allocations: 5.376 MB / 0.5857 GB, free: 6.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.463, allocations: 284.2 kB / 0.586 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003684/0.4634, allocations: 56.11 kB / 0.5861 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.4637, allocations: 183.4 kB / 0.5862 GB, free: 5.617 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4637, allocations: 0 / 0.5862 GB, free: 5.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08638/0.5501, allocations: 16.63 MB / 0.6025 GB, free: 5.211 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.49, allocations: 10.58 kB / 0.6025 GB, free: 5.203 MB / 446.1 MB " [Timeout remaining time 645] (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_air_circ_004_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_004.fmu > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.367708558682352] Failed to read output from testmodel.py, exit status != 0: 14.622765715233982 14.650002928 14.301555456 Calling exit ...