Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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_expansion_vessel_isoT_001,fileNamePrefix="AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_expansion_vessel_isoT_001,fileNamePrefix="AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004634/0.004634, allocations: 106.9 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 196 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.205/0.205, allocations: 22.34 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 72.2 kB / 436.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1129, allocations: 54.96 MB / 491.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_expansion_vessel_isoT_001): time 0.004154/0.1171, allocations: 3.328 MB / 494.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1192, allocations: 0.9547 MB / 495.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004747/0.1198, allocations: 11.94 kB / 495.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.12, allocations: 95.16 kB / 495.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005542/0.1206, allocations: 274.3 kB / 496.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.1211, allocations: 183.7 kB / 496.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1222, allocations: 1.232 MB / 497.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008873/0.1231, allocations: 0.8707 MB / 498.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.1236, allocations: 486.7 kB / 499 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.1243, allocations: 0.5686 MB / 499.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.1244, allocations: 132 kB / 499.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.1246, allocations: 128 kB / 499.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.125, allocations: 395.1 kB / 0.4885 GB, free: 9.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005097/0.1255, allocations: 0.5292 MB / 0.489 GB, free: 8.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.1267, allocations: 1.454 MB / 0.4904 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1267, allocations: 0 / 0.4904 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1267, allocations: 0 / 0.4904 GB, free: 7.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.1267, allocations: 4 kB / 0.4904 GB, free: 7.031 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002623/0.1294, allocations: 1.287 MB / 0.4917 GB, free: 5.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1294, allocations: 8.031 kB / 0.4917 GB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.1296, allocations: 110.7 kB / 0.4918 GB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1297, allocations: 91.91 kB / 0.4919 GB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007769/0.1305, allocations: 0.5699 MB / 0.4924 GB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.1306, allocations: 50.38 kB / 0.4925 GB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.1307, allocations: 80.28 kB / 0.4925 GB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.1322, allocations: 0.8937 MB / 0.4934 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1322, allocations: 0 / 0.4934 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.142e-05/0.1323, allocations: 28 kB / 0.4934 GB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.1323, allocations: 19.94 kB / 0.4935 GB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.1336, allocations: 0.773 MB / 0.4942 GB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/0.1381, allocations: 3.656 MB / 0.4978 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.1407, allocations: 1.042 MB / 0.4988 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.1413, allocations: 438.4 kB / 0.4992 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.1414, allocations: 12.56 kB / 0.4992 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1414, allocations: 39.12 kB / 0.4993 GB, free: 13.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.033e-06/0.1414, allocations: 0 / 0.4993 GB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.004232/0.1457, allocations: 2.342 MB / 0.5016 GB, free: 10.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1457, allocations: 55.97 kB / 0.5016 GB, free: 10.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.1462, allocations: 426 kB / 0.502 GB, free: 10.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.1463, allocations: 33.7 kB / 0.502 GB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.1465, allocations: 316.3 kB / 0.5023 GB, free: 10.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.1467, allocations: 232.7 kB / 0.5026 GB, free: 9.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.147, allocations: 126.6 kB / 0.5027 GB, free: 9.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1471, allocations: 366.7 kB / 0.503 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.1478, allocations: 437.8 kB / 0.5035 GB, free: 8.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.1484, allocations: 488.5 kB / 0.5039 GB, free: 8.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006432/0.1549, allocations: 2.305 MB / 0.5062 GB, free: 6.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1549, allocations: 0 / 0.5062 GB, free: 6.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00249/0.1574, allocations: 1.362 MB / 0.5075 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1574, allocations: 4 kB / 0.5075 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1575, allocations: 0 / 0.5075 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.1585, allocations: 362.6 kB / 0.5079 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009554/0.1595, allocations: 203.7 kB / 0.508 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.1707, allocations: 14.28 MB / 0.522 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.1714, allocations: 67.42 kB / 0.5221 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.1715, allocations: 24.16 kB / 0.5221 GB, free: 4.547 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: ev.lfrac:VARIABLE(start = ev.lfracstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (73): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005475/0.1721, allocations: 274.3 kB / 0.5223 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.1723, allocations: 55.34 kB / 0.5224 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.1746, allocations: 1.223 MB / 0.5236 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.1746, allocations: 4.094 kB / 0.5236 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.1746, allocations: 7.984 kB / 0.5236 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1746, allocations: 3.938 kB / 0.5236 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.1759, allocations: 0.9696 MB / 0.5245 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.1759, allocations: 0 / 0.5245 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.177, allocations: 195.8 kB / 0.5247 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008439/0.1779, allocations: 322.6 kB / 0.525 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-05/0.178, allocations: 31.97 kB / 0.5251 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009862/0.1879, allocations: 13.86 MB / 0.5386 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1879, allocations: 3.984 kB / 0.5386 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.1909, allocations: 1.696 MB / 0.5403 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.1911, allocations: 140.3 kB / 0.5404 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.1913, allocations: 32 kB / 0.5404 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.1917, allocations: 31.95 kB / 0.5405 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.1919, allocations: 48.48 kB / 0.5405 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.192, allocations: 20.17 kB / 0.5405 GB, free: 228 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003637/0.1923, allocations: 311.1 kB / 0.5408 GB, free: 15.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1923, allocations: 0 / 0.5408 GB, free: 15.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009964/0.1933, allocations: 299.4 kB / 0.5411 GB, free: 15.63 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (tube01.fluidStream.T[1],tube01.fluidStream.T[2],tube01.fluidStream.T[3],tube01.fluidStream.T[4],tube01.fluidStream.T[5],tube01.wall.wall.T[1,1],tube01.wall.wall.T[1,2],tube01.wall.wall.T[1,3],tube01.wall.wall.T[2,1],tube01.wall.wall.T[2,2],tube01.wall.wall.T[2,3],tube01.wall.wall.T[3,1],tube01.wall.wall.T[3,2],tube01.wall.wall.T[3,3],tube01.wall.wall.T[4,1],tube01.wall.wall.T[4,2],tube01.wall.wall.T[4,3],tube01.wall.wall.T[5,1],tube01.wall.wall.T[5,2],tube01.wall.wall.T[5,3],ev.lfrac) * 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 (50): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003242/0.1966, allocations: 2.262 MB / 0.5433 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.1995, allocations: 1.925 MB / 0.5452 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1995, allocations: 0 / 0.5452 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.2014, allocations: 1.434 MB / 0.5466 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.2023, allocations: 173.3 kB / 0.5468 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.2162, allocations: 8.801 MB / 0.5554 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.2172, allocations: 1.013 MB / 0.5563 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006181/0.2178, allocations: 168.6 kB / 0.5565 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.2183, allocations: 251.4 kB / 0.5567 GB, free: 15.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.2183, allocations: 0 / 0.5567 GB, free: 15.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06683/0.2851, allocations: 20.83 MB / 0.5771 GB, free: 10.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.87, allocations: 19.81 kB / 0.5771 GB, free: 10.57 MB / 462.1 MB (rm -f AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe >> ../files/AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001_fmu --startTime=0 --stopTime=80000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001.fmu > AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe 2>&1)