Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 113.1 kB / 16.41 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.1011/0.1011, allocations: 22.33 MB / 319.6 MB, free: 6.773 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.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_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.89 kB / 445.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 54.95 MB / 0.4885 GB, free: 1.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003045/0.1109, allocations: 1.812 MB / 0.4903 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.1114, allocations: 187.5 kB / 0.4904 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.1114, allocations: 0 / 0.4904 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.767e-05/0.1115, allocations: 23.78 kB / 0.4905 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1117, allocations: 55.48 kB / 0.4905 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.1119, allocations: 59.91 kB / 0.4906 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1121, allocations: 235.2 kB / 0.4908 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1123, allocations: 97.02 kB / 0.4909 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.1125, allocations: 99.73 kB / 0.491 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.1127, allocations: 115.6 kB / 0.4911 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.1127, allocations: 20 kB / 0.4911 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.1128, allocations: 24 kB / 0.4911 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.1128, allocations: 51.83 kB / 0.4912 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.1129, allocations: 83.7 kB / 0.4913 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.1132, allocations: 215.2 kB / 0.4915 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.1132, allocations: 3.984 kB / 0.4915 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1132, allocations: 4 kB / 0.4915 GB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.1132, allocations: 0 / 0.4915 GB, free: 14.54 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008524/0.1141, allocations: 478.7 kB / 0.4919 GB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1141, allocations: 12.03 kB / 0.4919 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.1142, allocations: 46.73 kB / 0.492 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.1142, allocations: 20.84 kB / 0.492 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1145, allocations: 195.6 kB / 0.4922 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1146, allocations: 50.44 kB / 0.4922 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.1146, allocations: 11.94 kB / 0.4923 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000845/0.1155, allocations: 295.1 kB / 0.4925 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1155, allocations: 0 / 0.4925 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.1155, allocations: 8 kB / 0.4925 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1155, allocations: 0 / 0.4925 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.1163, allocations: 231.8 kB / 0.4928 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.1183, allocations: 0.9613 MB / 0.4937 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1187, allocations: 260.8 kB / 0.494 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/0.1187, allocations: 40.84 kB / 0.494 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1188, allocations: 8.219 kB / 0.494 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1188, allocations: 38.44 kB / 0.494 GB, free: 11.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1188, allocations: 0 / 0.494 GB, free: 11.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001794/0.1206, allocations: 0.6279 MB / 0.4947 GB, free: 11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1207, allocations: 55.41 kB / 0.4947 GB, free: 10.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.1209, allocations: 191.4 kB / 0.4949 GB, free: 10.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1209, allocations: 29.7 kB / 0.4949 GB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.121, allocations: 116 kB / 0.495 GB, free: 10.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.1211, allocations: 59.48 kB / 0.4951 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.1212, allocations: 37.7 kB / 0.4951 GB, free: 10.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1213, allocations: 338.7 kB / 0.4954 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.1214, allocations: 47.92 kB / 0.4955 GB, free: 10.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1216, allocations: 96.41 kB / 0.4956 GB, free: 9.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/0.1224, allocations: 300.5 kB / 0.4959 GB, free: 9.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1224, allocations: 0 / 0.4959 GB, free: 9.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003101/0.1227, allocations: 193.5 kB / 0.4961 GB, free: 9.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1228, allocations: 11.97 kB / 0.4961 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1228, allocations: 4 kB / 0.4961 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1228, allocations: 4 kB / 0.4961 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.1231, allocations: 51.91 kB / 0.4961 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1231, allocations: 7.938 kB / 0.4961 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.1232, allocations: 4 kB / 0.4961 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1232, allocations: 8 kB / 0.4961 GB, free: 9.387 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 24 * 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.0002673/0.1235, allocations: 158.8 kB / 0.4963 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.1235, allocations: 15.91 kB / 0.4963 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.1236, allocations: 21.53 kB / 0.4963 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1236, allocations: 4 kB / 0.4963 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.1236, allocations: 7.922 kB / 0.4963 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1236, allocations: 0 / 0.4963 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.1244, allocations: 499.2 kB / 0.4968 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1244, allocations: 0 / 0.4968 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.1246, allocations: 47.91 kB / 0.4969 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1246, allocations: 0 / 0.4969 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1247, allocations: 4 kB / 0.4969 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1247, allocations: 0 / 0.4969 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1247, allocations: 0 / 0.4969 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.1251, allocations: 296.1 kB / 0.4971 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.1251, allocations: 96.95 kB / 0.4972 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.1252, allocations: 12.03 kB / 0.4973 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.1253, allocations: 0 / 0.4973 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.1253, allocations: 4 kB / 0.4973 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1253, allocations: 11.98 kB / 0.4973 GB, free: 8.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1254, allocations: 132.3 kB / 0.4974 GB, free: 8.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.839e-06/0.1255, allocations: 0 / 0.4974 GB, free: 8.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1257, allocations: 47.94 kB / 0.4974 GB, free: 7.957 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * 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 (15): * Single equations (assignments): 15 * 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.0006511/0.1264, allocations: 0.8224 MB / 0.4982 GB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.1267, allocations: 120.2 kB / 0.4984 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1267, allocations: 4.062 kB / 0.4984 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/0.1268, allocations: 55.92 kB / 0.4984 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1271, allocations: 27.92 kB / 0.4984 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.1297, allocations: 2.201 MB / 0.5006 GB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.13, allocations: 0.7163 MB / 0.5013 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.741e-05/0.1301, allocations: 25.53 kB / 0.5013 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.1302, allocations: 39.42 kB / 0.5014 GB, free: 3.773 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1302, allocations: 0 / 0.5014 GB, free: 3.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.1588, allocations: 3.635 MB / 0.5049 GB, free: 224 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/7.934, allocations: 19.8 kB / 0.5049 GB, free: 212 kB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_stank_001_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 AES_AES_Devel_test_models_Test_stank_001.fmu > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.930759229930118] Failed to read output from testmodel.py, exit status != 0: 8.28400470095221 8.295386999 8.179829665 Calling exit ...