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.00137/0.00137, allocations: 109.5 kB / 17.14 MB, free: 5.93 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.001382/0.001382, allocations: 205.1 kB / 20.11 MB, free: 2.977 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1056/0.1056, allocations: 24.03 MB / 333.6 MB, free: 1.582 MB / 254.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.002049/0.002049, allocations: 72.16 kB / 468.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1054, allocations: 59.54 MB / 0.5156 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004987/0.1104, allocations: 3.222 MB / 0.5187 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1122, allocations: 0.9547 MB / 0.5197 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.1124, allocations: 7.938 kB / 0.5197 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1126, allocations: 67.36 kB / 0.5197 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.1129, allocations: 166.7 kB / 0.5199 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.1134, allocations: 199.7 kB / 0.5201 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007515/0.1141, allocations: 0.7445 MB / 0.5208 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005031/0.1146, allocations: 381.7 kB / 0.5212 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.115, allocations: 319.1 kB / 0.5215 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.1155, allocations: 394.7 kB / 0.5219 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.1156, allocations: 76 kB / 0.5219 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1157, allocations: 76 kB / 0.522 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.1159, allocations: 207.4 kB / 0.5222 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.1163, allocations: 334.6 kB / 0.5225 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007964/0.1171, allocations: 0.8055 MB / 0.5233 GB, free: 4.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1171, allocations: 4 kB / 0.5233 GB, free: 4.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1171, allocations: 0 / 0.5233 GB, free: 4.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1171, allocations: 0 / 0.5233 GB, free: 4.34 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.001961/0.119, allocations: 0.9193 MB / 0.5242 GB, free: 3.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1191, allocations: 8.625 kB / 0.5242 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.1192, allocations: 90.7 kB / 0.5243 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1193, allocations: 68.56 kB / 0.5244 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/0.1199, allocations: 392.3 kB / 0.5247 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.12, allocations: 105 kB / 0.5248 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.1201, allocations: 52.38 kB / 0.5249 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.1218, allocations: 0.6856 MB / 0.5256 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1218, allocations: 0 / 0.5256 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.1218, allocations: 20 kB / 0.5256 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1219, allocations: 16 kB / 0.5256 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.1234, allocations: 0.6011 MB / 0.5262 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005499/0.1289, allocations: 2.583 MB / 0.5287 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.1301, allocations: 0.5291 MB / 0.5292 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000912/0.1311, allocations: 385.4 kB / 0.5296 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.1311, allocations: 8.375 kB / 0.5296 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1311, allocations: 38.94 kB / 0.5296 GB, free: 13.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 1.753e-06/0.1311, allocations: 0 / 0.5296 GB, free: 13.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.006458/0.1376, allocations: 2.278 MB / 0.5319 GB, free: 11.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.1377, allocations: 59.84 kB / 0.5319 GB, free: 11.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.1381, allocations: 349.7 kB / 0.5323 GB, free: 10.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.1381, allocations: 37.7 kB / 0.5323 GB, free: 10.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1383, allocations: 236.7 kB / 0.5325 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.1385, allocations: 194.3 kB / 0.5327 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.1387, allocations: 102.2 kB / 0.5328 GB, free: 10.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1389, allocations: 362.7 kB / 0.5331 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009026/0.1398, allocations: 367 kB / 0.5335 GB, free: 9.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000942/0.1407, allocations: 424.8 kB / 0.5339 GB, free: 9.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007082/0.1478, allocations: 2.081 MB / 0.5359 GB, free: 7.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1478, allocations: 0 / 0.5359 GB, free: 7.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002039/0.1498, allocations: 0.8539 MB / 0.5368 GB, free: 6.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1498, allocations: 4 kB / 0.5368 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1498, allocations: 4 kB / 0.5368 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1499, allocations: 4 kB / 0.5368 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00595/0.1558, allocations: 0.905 MB / 0.5377 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1558, allocations: 8 kB / 0.5377 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.1564, allocations: 55.92 kB / 0.5377 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.1564, allocations: 20 kB / 0.5377 GB, free: 5.191 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.0003628/0.1568, allocations: 214.6 kB / 0.5379 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1569, allocations: 55.72 kB / 0.538 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.159, allocations: 0.8288 MB / 0.5388 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.159, allocations: 8 kB / 0.5388 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.159, allocations: 0 / 0.5388 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.159, allocations: 3.984 kB / 0.5388 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/0.1627, allocations: 1.788 MB / 0.5406 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1627, allocations: 3.938 kB / 0.5406 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006082/0.1688, allocations: 0.8896 MB / 0.5414 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.1688, allocations: 3.938 kB / 0.5414 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.1689, allocations: 23.98 kB / 0.5415 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.1689, allocations: 7.938 kB / 0.5415 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1689, allocations: 0 / 0.5415 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.1718, allocations: 1.273 MB / 0.5427 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1719, allocations: 120.8 kB / 0.5428 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.172, allocations: 15.98 kB / 0.5428 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.1726, allocations: 56.06 kB / 0.5429 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.1727, allocations: 72.33 kB / 0.543 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.1728, allocations: 27.92 kB / 0.543 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.1731, allocations: 259.2 kB / 0.5432 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1731, allocations: 0 / 0.5432 GB, free: 15.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.1736, allocations: 144 kB / 0.5434 GB, free: 15.29 MB / 414.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.003364/0.177, allocations: 1.836 MB / 0.5452 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.1789, allocations: 0.7476 MB / 0.5459 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1789, allocations: 0 / 0.5459 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009635/0.1799, allocations: 406.6 kB / 0.5463 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.1804, allocations: 105.5 kB / 0.5464 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.1919, allocations: 6.165 MB / 0.5524 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.1924, allocations: 0.8549 MB / 0.5532 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003929/0.1928, allocations: 92.34 kB / 0.5533 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/0.1932, allocations: 187.4 kB / 0.5535 GB, free: 4.707 MB / 414.1 MB Notification: Performance of SimCode: time 1.223e-06/0.1932, allocations: 0 / 0.5535 GB, free: 4.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.2315, allocations: 12.84 MB / 0.566 GB, free: 8.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.008/9.24, allocations: 4.062 kB / 0.5661 GB, free: 8.008 MB / 430.1 MB " [Timeout remaining time 651] (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: 12.324076679069549] Failed to read output from testmodel.py, exit status != 0: 9.317916204920039 9.340384284 9.219596448 Calling exit ...