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.002292/0.002292, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.003605/0.003605, allocations: 213.3 kB / 22.26 MB, free: 5.121 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.977 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.1096/0.1096, allocations: 24.13 MB / 336.6 MB, free: 11.41 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.003115/0.003115, allocations: 63.91 kB / 473.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3445, allocations: 59.61 MB / 0.5204 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004485/0.349, allocations: 3.242 MB / 0.5236 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3506, allocations: 0.9588 MB / 0.5245 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.3508, allocations: 4 kB / 0.5245 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.351, allocations: 69.89 kB / 0.5246 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.3513, allocations: 175.9 kB / 0.5248 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.3518, allocations: 197.1 kB / 0.525 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000754/0.3525, allocations: 0.7435 MB / 0.5257 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005528/0.3531, allocations: 360.2 kB / 0.526 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.3535, allocations: 316 kB / 0.5263 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.354, allocations: 399.3 kB / 0.5267 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.3542, allocations: 76.56 kB / 0.5268 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3543, allocations: 77.94 kB / 0.5269 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.3545, allocations: 210.5 kB / 0.5271 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.3548, allocations: 341.3 kB / 0.5274 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008281/0.3556, allocations: 0.7912 MB / 0.5282 GB, free: 5.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3556, allocations: 5.672 kB / 0.5282 GB, free: 5.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3557, allocations: 0 / 0.5282 GB, free: 5.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3557, allocations: 0 / 0.5282 GB, free: 5.348 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.002027/0.3577, allocations: 0.8394 MB / 0.529 GB, free: 4.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3577, allocations: 10.83 kB / 0.529 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.3579, allocations: 95.77 kB / 0.5291 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.358, allocations: 66.19 kB / 0.5291 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/0.3586, allocations: 332.9 kB / 0.5295 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.3587, allocations: 107.8 kB / 0.5296 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.3589, allocations: 54.36 kB / 0.5296 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.3604, allocations: 0.6877 MB / 0.5303 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3604, allocations: 0 / 0.5303 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/0.3605, allocations: 20.75 kB / 0.5303 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.3605, allocations: 15.47 kB / 0.5303 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.3619, allocations: 0.603 MB / 0.5309 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005227/0.3672, allocations: 2.538 MB / 0.5334 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.3683, allocations: 0.524 MB / 0.5339 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/0.3692, allocations: 384.6 kB / 0.5343 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.3692, allocations: 13.78 kB / 0.5343 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3692, allocations: 33.38 kB / 0.5343 GB, free: 2.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.805e-06/0.3692, allocations: 1.188 kB / 0.5343 GB, free: 2.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.005911/0.3752, allocations: 2.189 MB / 0.5365 GB, free: 1.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.3752, allocations: 56.88 kB / 0.5365 GB, free: 1.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.3756, allocations: 360.1 kB / 0.5368 GB, free: 1.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.3757, allocations: 31.98 kB / 0.5369 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3758, allocations: 241.7 kB / 0.5371 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3759, allocations: 197.5 kB / 0.5373 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.3761, allocations: 97.33 kB / 0.5374 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3762, allocations: 360.6 kB / 0.5377 GB, free: 256 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008273/0.377, allocations: 377.2 kB / 0.5381 GB, free: 116 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008847/0.3779, allocations: 427.6 kB / 0.5385 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006862/0.3848, allocations: 1.998 MB / 0.5405 GB, free: 15.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3848, allocations: 1.375 kB / 0.5405 GB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001993/0.3868, allocations: 0.8475 MB / 0.5413 GB, free: 14.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3868, allocations: 10.77 kB / 0.5413 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3868, allocations: 2.781 kB / 0.5413 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3868, allocations: 7.906 kB / 0.5413 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005608/0.3924, allocations: 0.8986 MB / 0.5422 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/0.3924, allocations: 8.969 kB / 0.5422 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.3931, allocations: 60.27 kB / 0.5422 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.3932, allocations: 18.53 kB / 0.5423 GB, free: 14.49 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.0004591/0.3936, allocations: 219 kB / 0.5425 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3937, allocations: 44.47 kB / 0.5425 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.3958, allocations: 0.8274 MB / 0.5433 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3958, allocations: 4.719 kB / 0.5433 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3958, allocations: 0 / 0.5433 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3958, allocations: 5.312 kB / 0.5433 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.3996, allocations: 1.76 MB / 0.5451 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3996, allocations: 9.344 kB / 0.5451 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005603/0.4052, allocations: 0.8861 MB / 0.5459 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.4052, allocations: 3.594 kB / 0.5459 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.4053, allocations: 17.48 kB / 0.5459 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-06/0.4053, allocations: 11.81 kB / 0.546 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4053, allocations: 5.406 kB / 0.546 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/0.4083, allocations: 1.268 MB / 0.5472 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.4085, allocations: 44.33 kB / 0.5472 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/0.4086, allocations: 16.2 kB / 0.5473 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.4091, allocations: 55.62 kB / 0.5473 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.4093, allocations: 80.8 kB / 0.5474 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.777e-05/0.4094, allocations: 20.11 kB / 0.5474 GB, free: 11.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003265/0.4097, allocations: 255.9 kB / 0.5477 GB, free: 11.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4097, allocations: 0 / 0.5477 GB, free: 11.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006186/0.4103, allocations: 145.1 kB / 0.5478 GB, free: 11.22 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.003487/0.4138, allocations: 1.835 MB / 0.5496 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.4158, allocations: 0.7411 MB / 0.5503 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4158, allocations: 1.438 kB / 0.5503 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009236/0.4167, allocations: 412.8 kB / 0.5507 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.4174, allocations: 105.5 kB / 0.5508 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.4295, allocations: 6.161 MB / 0.5568 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.43, allocations: 0.8553 MB / 0.5577 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004919/0.4305, allocations: 99.77 kB / 0.5578 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.431, allocations: 187.4 kB / 0.5579 GB, free: 4.371 MB / 398.1 MB Notification: Performance of SimCode: time 1.983e-06/0.431, allocations: 0 / 0.5579 GB, free: 4.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/0.4767, allocations: 13.38 MB / 0.571 GB, free: 7.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.67, allocations: 9.531 kB / 0.571 GB, free: 7.184 MB / 414.1 MB " [Timeout remaining time 647] (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.859140407999803] Failed to read output from testmodel.py, exit status != 0: 12.787486568995519 12.802197602 12.443253796 Calling exit ...