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.001716/0.001716, allocations: 103 kB / 16.45 MB, free: 6.449 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.001978/0.001978, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.1088/0.1088, allocations: 24.12 MB / 333 MB, free: 12.68 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.002201/0.002201, allocations: 67.91 kB / 467.9 MB, free: 9.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.333, allocations: 59.56 MB / 0.5151 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.00548/0.3385, allocations: 3.243 MB / 0.5182 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.3409, allocations: 0.9501 MB / 0.5192 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.3412, allocations: 4.75 kB / 0.5192 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.3415, allocations: 67.19 kB / 0.5192 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005484/0.3421, allocations: 167.1 kB / 0.5194 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008414/0.3429, allocations: 203.7 kB / 0.5196 GB, free: 6.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.344, allocations: 0.7439 MB / 0.5203 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008053/0.3448, allocations: 377.2 kB / 0.5207 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006602/0.3454, allocations: 315.5 kB / 0.521 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008188/0.3462, allocations: 397.2 kB / 0.5214 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.3464, allocations: 75.81 kB / 0.5214 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.3466, allocations: 77.88 kB / 0.5215 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.3469, allocations: 208.8 kB / 0.5217 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.3474, allocations: 339.5 kB / 0.522 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3484, allocations: 0.7923 MB / 0.5228 GB, free: 4.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3484, allocations: 8 kB / 0.5228 GB, free: 4.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3484, allocations: 0 / 0.5228 GB, free: 4.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.3485, allocations: 0 / 0.5228 GB, free: 4.973 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.002857/0.3513, allocations: 0.9096 MB / 0.5237 GB, free: 4.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.3514, allocations: 14.56 kB / 0.5237 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.3515, allocations: 95.47 kB / 0.5238 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.3518, allocations: 68.84 kB / 0.5239 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.3526, allocations: 398.5 kB / 0.5243 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.3528, allocations: 105 kB / 0.5244 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.3529, allocations: 50.28 kB / 0.5244 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.3556, allocations: 0.691 MB / 0.5251 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.3557, allocations: 0 / 0.5251 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.3558, allocations: 20.81 kB / 0.5251 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.3558, allocations: 15.73 kB / 0.5251 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.3583, allocations: 0.5984 MB / 0.5257 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008573/0.3669, allocations: 2.58 MB / 0.5282 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.3686, allocations: 0.5226 MB / 0.5287 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.3699, allocations: 386.3 kB / 0.5291 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.265e-05/0.37, allocations: 10.72 kB / 0.5291 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.37, allocations: 41.25 kB / 0.5291 GB, free: 1.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 3.757e-06/0.37, allocations: 1.375 kB / 0.5291 GB, free: 1.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.01046/0.3804, allocations: 2.261 MB / 0.5314 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.3805, allocations: 61.27 kB / 0.5314 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.3811, allocations: 355 kB / 0.5317 GB, free: 384 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/0.3812, allocations: 35.92 kB / 0.5318 GB, free: 344 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3814, allocations: 234.3 kB / 0.532 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.3817, allocations: 198.1 kB / 0.5322 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/0.382, allocations: 101.4 kB / 0.5323 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.3823, allocations: 359.3 kB / 0.5326 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.3839, allocations: 374.6 kB / 0.533 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.3857, allocations: 422.5 kB / 0.5334 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/0.3986, allocations: 2.082 MB / 0.5354 GB, free: 14.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3986, allocations: 0 / 0.5354 GB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003823/0.4024, allocations: 0.8513 MB / 0.5363 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.4024, allocations: 5.688 kB / 0.5363 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4024, allocations: 6.125 kB / 0.5363 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.4025, allocations: 5.266 kB / 0.5363 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/0.413, allocations: 0.8997 MB / 0.5372 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.712e-05/0.413, allocations: 12.34 kB / 0.5372 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.4142, allocations: 52.56 kB / 0.5372 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4143, allocations: 26.33 kB / 0.5372 GB, free: 14.04 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.0006292/0.4149, allocations: 204.2 kB / 0.5374 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.4151, allocations: 49.72 kB / 0.5375 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.4174, allocations: 0.8349 MB / 0.5383 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.4174, allocations: 5.719 kB / 0.5383 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4174, allocations: 0 / 0.5383 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4174, allocations: 7.922 kB / 0.5383 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.4215, allocations: 1.792 MB / 0.5401 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4215, allocations: 1.875 kB / 0.5401 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006228/0.4277, allocations: 0.8903 MB / 0.5409 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.4277, allocations: 2.562 kB / 0.5409 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.4278, allocations: 22.8 kB / 0.541 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.4278, allocations: 2.281 kB / 0.541 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4278, allocations: 8.938 kB / 0.541 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/0.431, allocations: 1.269 MB / 0.5422 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.4313, allocations: 121.2 kB / 0.5423 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/0.4314, allocations: 21.11 kB / 0.5423 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.432, allocations: 50.84 kB / 0.5424 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.4322, allocations: 78.39 kB / 0.5425 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.4322, allocations: 23.17 kB / 0.5425 GB, free: 10.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003511/0.4326, allocations: 256.3 kB / 0.5427 GB, free: 10.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4326, allocations: 2.688 kB / 0.5427 GB, free: 10.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.4332, allocations: 143.6 kB / 0.5429 GB, free: 10.65 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.003448/0.4366, allocations: 1.831 MB / 0.5447 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002243/0.4389, allocations: 0.7431 MB / 0.5454 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4389, allocations: 0 / 0.5454 GB, free: 9.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.4399, allocations: 412.8 kB / 0.5458 GB, free: 8.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.4407, allocations: 110.1 kB / 0.5459 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.4548, allocations: 6.163 MB / 0.5519 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.4555, allocations: 0.8515 MB / 0.5527 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005184/0.456, allocations: 95.58 kB / 0.5528 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/0.4565, allocations: 193.3 kB / 0.553 GB, free: 3.848 MB / 398.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4565, allocations: 0 / 0.553 GB, free: 3.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/0.5002, allocations: 12.84 MB / 0.5656 GB, free: 8.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.106/9.606, allocations: 10.39 kB / 0.5656 GB, free: 8.219 MB / 414.1 MB " [Timeout remaining time 650] (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.596168414922431] Failed to read output from testmodel.py, exit status != 0: 9.683696269989014 9.699048772 9.347219737 Calling exit ...