Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_002.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.001335/0.001335, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001538/0.001538, allocations: 207.8 kB / 23.01 MB, free: 4.992 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1088/0.1088, allocations: 24.04 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_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",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.002374/0.002374, allocations: 75.89 kB / 473.9 MB, free: 6.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3249, allocations: 59.57 MB / 0.5209 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004043/0.329, allocations: 2.936 MB / 0.5238 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3309, allocations: 0.9056 MB / 0.5247 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.3311, allocations: 4.406 kB / 0.5247 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.3313, allocations: 74.25 kB / 0.5248 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.3317, allocations: 176.1 kB / 0.5249 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.3324, allocations: 201.6 kB / 0.5251 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000791/0.3332, allocations: 0.7446 MB / 0.5258 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005974/0.3338, allocations: 348.2 kB / 0.5262 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005481/0.3344, allocations: 317.5 kB / 0.5265 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.3349, allocations: 354.5 kB / 0.5268 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3351, allocations: 76.53 kB / 0.5269 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.3352, allocations: 76.78 kB / 0.527 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3354, allocations: 204.4 kB / 0.5272 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.3358, allocations: 293.6 kB / 0.5274 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3368, allocations: 0.8008 MB / 0.5282 GB, free: 5.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3368, allocations: 5.125 kB / 0.5282 GB, free: 5.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.3368, allocations: 0 / 0.5282 GB, free: 5.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.3368, allocations: 0 / 0.5282 GB, free: 5.805 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002263/0.3391, allocations: 0.8378 MB / 0.529 GB, free: 5.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3392, allocations: 10.77 kB / 0.529 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.3393, allocations: 96.19 kB / 0.5291 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.3394, allocations: 65.98 kB / 0.5292 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.34, allocations: 335 kB / 0.5295 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.3402, allocations: 109.5 kB / 0.5296 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3403, allocations: 50.22 kB / 0.5297 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.3421, allocations: 0.7377 MB / 0.5304 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.3421, allocations: 5.172 kB / 0.5304 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.3421, allocations: 20.41 kB / 0.5304 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.3422, allocations: 11.42 kB / 0.5304 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.3437, allocations: 0.5994 MB / 0.531 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005497/0.3492, allocations: 2.372 MB / 0.5333 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.3504, allocations: 0.5186 MB / 0.5338 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008632/0.3513, allocations: 388.5 kB / 0.5342 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.3513, allocations: 6.891 kB / 0.5342 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3513, allocations: 41.25 kB / 0.5343 GB, free: 2.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.464e-06/0.3513, allocations: 7.875 kB / 0.5343 GB, free: 2.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.005927/0.3573, allocations: 2.181 MB / 0.5364 GB, free: 1.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.3573, allocations: 57.78 kB / 0.5364 GB, free: 1.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.3577, allocations: 360.5 kB / 0.5368 GB, free: 1.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.3577, allocations: 35.8 kB / 0.5368 GB, free: 1.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3579, allocations: 233.4 kB / 0.537 GB, free: 1.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.358, allocations: 202.6 kB / 0.5372 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.3582, allocations: 102.1 kB / 0.5373 GB, free: 1.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.3582, allocations: 360.3 kB / 0.5377 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008217/0.3591, allocations: 373.2 kB / 0.538 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000865/0.3599, allocations: 425.5 kB / 0.5384 GB, free: 384 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006829/0.3668, allocations: 2.006 MB / 0.5404 GB, free: 15.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3668, allocations: 1.156 kB / 0.5404 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002048/0.3688, allocations: 0.8582 MB / 0.5412 GB, free: 15.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3688, allocations: 5.5 kB / 0.5412 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3688, allocations: 2.75 kB / 0.5413 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3689, allocations: 4.125 kB / 0.5413 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005873/0.3747, allocations: 0.9061 MB / 0.5421 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.3747, allocations: 5.031 kB / 0.5421 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006314/0.3754, allocations: 53.34 kB / 0.5422 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.3754, allocations: 22.33 kB / 0.5422 GB, free: 15.06 MB / 398.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"cold height\" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004788/0.3759, allocations: 204.4 kB / 0.5424 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.376, allocations: 45.09 kB / 0.5425 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.3782, allocations: 0.828 MB / 0.5433 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.3782, allocations: 4.906 kB / 0.5433 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3782, allocations: 0 / 0.5433 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3783, allocations: 5.453 kB / 0.5433 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/0.3824, allocations: 1.663 MB / 0.5449 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3824, allocations: 1.062 kB / 0.5449 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005873/0.3883, allocations: 0.8823 MB / 0.5458 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.3883, allocations: 7.344 kB / 0.5458 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/0.3884, allocations: 18.39 kB / 0.5458 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.3884, allocations: 10.12 kB / 0.5458 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3884, allocations: 5.172 kB / 0.5458 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.3912, allocations: 1.276 MB / 0.547 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.3914, allocations: 43.83 kB / 0.5471 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.3915, allocations: 16.67 kB / 0.5471 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.392, allocations: 63.58 kB / 0.5472 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.3922, allocations: 77.02 kB / 0.5472 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.3923, allocations: 15.64 kB / 0.5473 GB, free: 12.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003036/0.3926, allocations: 261.1 kB / 0.5475 GB, free: 11.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3926, allocations: 4 kB / 0.5475 GB, free: 11.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005426/0.3931, allocations: 141.3 kB / 0.5476 GB, free: 11.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003132/0.3962, allocations: 1.836 MB / 0.5494 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.3981, allocations: 0.7419 MB / 0.5502 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3981, allocations: 1.188 kB / 0.5502 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000916/0.399, allocations: 411.9 kB / 0.5505 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.3997, allocations: 106.2 kB / 0.5507 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.4124, allocations: 6.14 MB / 0.5566 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.4127, allocations: 248.9 kB / 0.5569 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004918/0.4132, allocations: 105.2 kB / 0.557 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/0.4136, allocations: 183.4 kB / 0.5572 GB, free: 5.668 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4136, allocations: 3.938 kB / 0.5572 GB, free: 5.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.4611, allocations: 14.25 MB / 0.5711 GB, free: 7.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.36, allocations: 15.08 kB / 0.5711 GB, free: 7.652 MB / 414.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_stank_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_002.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_002.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_stank_002_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Devel_test_models_Test_stank_002.fmu > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.324058097787201] Failed to read output from testmodel.py, exit status != 0: 12.468484236858785 12.48515954 12.144970814 Calling exit ...