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.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.001732/0.001738, allocations: 106.6 kB / 16.41 MB, free: 6.504 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.002003/0.002003, allocations: 191.7 kB / 19.35 MB, free: 3.734 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 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.1007/0.1007, allocations: 22.32 MB / 319.5 MB, free: 6.852 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_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: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.88 kB / 445.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 54.95 MB / 0.4885 GB, free: 1.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004922/0.1108, allocations: 3.207 MB / 0.4916 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1127, allocations: 0.9041 MB / 0.4925 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.113, allocations: 4 kB / 0.4925 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1133, allocations: 67.3 kB / 0.4926 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.1137, allocations: 166.7 kB / 0.4927 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.1142, allocations: 199.7 kB / 0.4929 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007944/0.115, allocations: 0.7406 MB / 0.4937 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.1157, allocations: 445.7 kB / 0.4941 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003908/0.1161, allocations: 307.1 kB / 0.4944 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.1166, allocations: 394.7 kB / 0.4947 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.1168, allocations: 76 kB / 0.4948 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1169, allocations: 80 kB / 0.4949 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.1171, allocations: 203.4 kB / 0.4951 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.1175, allocations: 338.5 kB / 0.4954 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008487/0.1183, allocations: 0.8017 MB / 0.4962 GB, free: 9.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1184, allocations: 0 / 0.4962 GB, free: 9.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1184, allocations: 0 / 0.4962 GB, free: 9.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.1184, allocations: 0 / 0.4962 GB, free: 9.68 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.001934/0.1203, allocations: 0.9154 MB / 0.4971 GB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1204, allocations: 8.031 kB / 0.4971 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.1205, allocations: 90.7 kB / 0.4972 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.1206, allocations: 68.56 kB / 0.4972 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.1212, allocations: 400.3 kB / 0.4976 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.1214, allocations: 109 kB / 0.4977 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.1215, allocations: 52.33 kB / 0.4978 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.1231, allocations: 0.6894 MB / 0.4985 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1231, allocations: 0 / 0.4985 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.1232, allocations: 23.98 kB / 0.4985 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1232, allocations: 12 kB / 0.4985 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.1247, allocations: 0.5972 MB / 0.4991 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.1302, allocations: 2.579 MB / 0.5016 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.1315, allocations: 0.5309 MB / 0.5021 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009302/0.1324, allocations: 401.4 kB / 0.5025 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.1325, allocations: 12.91 kB / 0.5025 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1325, allocations: 38.94 kB / 0.5025 GB, free: 2.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.294e-06/0.1325, allocations: 0 / 0.5025 GB, free: 2.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.006388/0.1389, allocations: 2.266 MB / 0.5048 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.139, allocations: 59.83 kB / 0.5048 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/0.1394, allocations: 357.7 kB / 0.5052 GB, free: 240 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.285e-05/0.1395, allocations: 37.7 kB / 0.5052 GB, free: 196 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2055/0.345, allocations: 227.4 kB / 0.5054 GB, free: 20.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.3453, allocations: 202.3 kB / 0.5056 GB, free: 20.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.3455, allocations: 96.95 kB / 0.5057 GB, free: 20.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.3456, allocations: 359 kB / 0.506 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000834/0.3465, allocations: 368.6 kB / 0.5064 GB, free: 20.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007972/0.3473, allocations: 426.6 kB / 0.5068 GB, free: 20.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006484/0.3538, allocations: 2.079 MB / 0.5088 GB, free: 20.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3538, allocations: 2.031 kB / 0.5088 GB, free: 20.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001916/0.3557, allocations: 0.8604 MB / 0.5097 GB, free: 20.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3558, allocations: 5.922 kB / 0.5097 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3558, allocations: 4.594 kB / 0.5097 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.3558, allocations: 3.625 kB / 0.5097 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00586/0.3617, allocations: 0.8991 MB / 0.5106 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/0.3617, allocations: 8.094 kB / 0.5106 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/0.3624, allocations: 55.7 kB / 0.5106 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.3625, allocations: 27.53 kB / 0.5106 GB, free: 20.08 MB / 382.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.0003599/0.3628, allocations: 200 kB / 0.5108 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.3629, allocations: 48.03 kB / 0.5109 GB, free: 19.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.3649, allocations: 0.8242 MB / 0.5117 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3649, allocations: 8.656 kB / 0.5117 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3649, allocations: 1.406 kB / 0.5117 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.3649, allocations: 2.906 kB / 0.5117 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.3682, allocations: 1.795 MB / 0.5135 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3682, allocations: 1.375 kB / 0.5135 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005939/0.3742, allocations: 0.8887 MB / 0.5143 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.3742, allocations: 4.969 kB / 0.5143 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.042e-05/0.3743, allocations: 16.12 kB / 0.5143 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3743, allocations: 3.5 kB / 0.5143 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3743, allocations: 7.344 kB / 0.5144 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.377, allocations: 1.276 MB / 0.5156 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3771, allocations: 119.2 kB / 0.5157 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.3772, allocations: 15.86 kB / 0.5157 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/0.3777, allocations: 51.86 kB / 0.5158 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.3779, allocations: 80.16 kB / 0.5159 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.378, allocations: 18.19 kB / 0.5159 GB, free: 19.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.3783, allocations: 258.8 kB / 0.5161 GB, free: 19.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3783, allocations: 3.281 kB / 0.5161 GB, free: 19.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005241/0.3788, allocations: 144.8 kB / 0.5163 GB, free: 19.04 MB / 382.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.002941/0.3818, allocations: 1.833 MB / 0.518 GB, free: 18.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.3838, allocations: 0.7926 MB / 0.5188 GB, free: 18.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3838, allocations: 0 / 0.5188 GB, free: 18.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009274/0.3847, allocations: 421 kB / 0.5192 GB, free: 18.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.3853, allocations: 103.8 kB / 0.5193 GB, free: 18.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.3967, allocations: 6.157 MB / 0.5253 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3971, allocations: 0.8515 MB / 0.5262 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.3975, allocations: 99.59 kB / 0.5263 GB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.3979, allocations: 186.9 kB / 0.5264 GB, free: 15.47 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.398, allocations: 0 / 0.5264 GB, free: 15.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05884/0.4568, allocations: 12.76 MB / 0.5389 GB, free: 9.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/9.383, allocations: 11.16 kB / 0.5389 GB, free: 9.121 MB / 382.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.177069411962293] Failed to read output from testmodel.py, exit status != 0: 9.455120975966565 9.464711346 9.343852431 Calling exit ...