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.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.0009216/0.0009216, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.001067/0.001067, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.9172/0.9172, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.06769/0.06769, allocations: 18.13 MB / 278.1 MB, free: 11.54 MB / 266.7 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_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 1.573e-06/1.573e-06, allocations: 0 / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.697e-05, allocations: 2.281 kB / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.001854/0.001871, allocations: 1.768 MB / 416.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003445/0.002215, allocations: 183.2 kB / 417 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.002271, allocations: 1.219 kB / 417 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/0.002318, allocations: 15.81 kB / 417 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.002446, allocations: 58.77 kB / 417.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.002602, allocations: 61.23 kB / 417.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.002774, allocations: 238.7 kB / 417.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.002964, allocations: 90.47 kB / 417.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.00304, allocations: 99.62 kB / 417.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.003177, allocations: 81.66 kB / 417.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.003212, allocations: 25.94 kB / 417.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.374e-05/0.003236, allocations: 22 kB / 417.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.003267, allocations: 47.17 kB / 417.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.003318, allocations: 71.88 kB / 417.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.00353, allocations: 239.4 kB / 418 MB, free: 10.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003533, allocations: 0.6562 kB / 418 MB, free: 10.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003534, allocations: 0 / 418 MB, free: 10.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003537, allocations: 0 / 418 MB, free: 10.93 MB / 330.7 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.0005484/0.004086, allocations: 407.9 kB / 418.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.004124, allocations: 10.83 kB / 418.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.00416, allocations: 43.92 kB / 418.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.004199, allocations: 15.86 kB / 418.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.696e-05/0.004296, allocations: 136.9 kB / 418.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/0.004374, allocations: 54.06 kB / 418.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.004407, allocations: 11.62 kB / 418.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.004923, allocations: 302.4 kB / 419 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.004932, allocations: 5.078 kB / 419 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.004952, allocations: 5.953 kB / 419 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.004958, allocations: 2.188 kB / 419 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.00538, allocations: 227 kB / 419.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.006479, allocations: 0.863 MB / 420.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.006657, allocations: 109.7 kB / 420.2 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.006704, allocations: 46.19 kB / 420.3 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.006714, allocations: 9 kB / 420.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.124e-05/0.006725, allocations: 35.94 kB / 420.3 MB, free: 9.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.006726, allocations: 0 / 420.3 MB, free: 9.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009807/0.007707, allocations: 0.5678 MB / 420.9 MB, free: 9.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.007728, allocations: 54.09 kB / 420.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.007845, allocations: 193.8 kB / 421.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.007853, allocations: 29.7 kB / 421.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.007896, allocations: 113.8 kB / 421.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.00792, allocations: 59.92 kB / 421.3 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.007966, allocations: 44.12 kB / 421.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.008004, allocations: 328.5 kB / 421.7 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.008057, allocations: 41.98 kB / 421.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.008125, allocations: 96.5 kB / 421.8 MB, free: 8.293 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.008582, allocations: 298 kB / 422.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008584, allocations: 1.188 kB / 422.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002/0.008784, allocations: 195.3 kB / 422.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.008799, allocations: 5.875 kB / 422.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.008806, allocations: 6.125 kB / 422.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.008821, allocations: 7.406 kB / 422.3 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.008959, allocations: 53.56 kB / 422.4 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.008966, allocations: 3.281 kB / 422.4 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.009014, allocations: 6.562 kB / 422.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.009025, allocations: 9.656 kB / 422.4 MB, free: 8.031 MB / 330.7 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.0001499/0.009174, allocations: 148.8 kB / 422.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.009195, allocations: 14.44 kB / 422.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.009221, allocations: 26.62 kB / 422.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.009224, allocations: 3.203 kB / 422.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.009228, allocations: 0 / 422.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.009232, allocations: 6.078 kB / 422.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.009614, allocations: 449.3 kB / 423 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.009616, allocations: 1.906 kB / 423 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.009726, allocations: 42.69 kB / 423.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009728, allocations: 1.281 kB / 423.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.009738, allocations: 5.859 kB / 423.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.009741, allocations: 5.156 kB / 423.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009742, allocations: 1.812 kB / 423.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.009948, allocations: 290 kB / 423.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.009968, allocations: 19.61 kB / 423.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.009985, allocations: 1 kB / 423.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.01003, allocations: 10.16 kB / 423.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.01005, allocations: 13.14 kB / 423.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.01006, allocations: 3.594 kB / 423.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.01012, allocations: 144.9 kB / 423.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01012, allocations: 0 / 423.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.0103, allocations: 35.84 kB / 423.6 MB, free: 7.168 MB / 330.7 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.0002748/0.01057, allocations: 0.8146 MB / 424.4 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01074, allocations: 123.1 kB / 424.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01074, allocations: 0 / 424.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.01079, allocations: 53.69 kB / 424.6 MB, free: 6.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.01101, allocations: 34.17 kB / 424.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.0124, allocations: 2.155 MB / 426.8 MB, free: 4.645 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.261e-05/0.01247, allocations: 103.3 kB / 426.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.01252, allocations: 19.75 kB / 426.9 MB, free: 4.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.01258, allocations: 45.09 kB / 426.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01258, allocations: 1.188 kB / 426.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.03074, allocations: 4.491 MB / 431.4 MB, free: 3.434 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.069/7.1, allocations: 4.734 kB / 431.4 MB, free: 3.434 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.198449448682368] Failed to read output from testmodel.py, exit status != 0: 7.182788711041212 7.19438953 7.188967056 Calling exit ...