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) 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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008106/0.008106, allocations: 103.9 kB / 15.73 MB, free: 5.992 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.001535/0.001535, allocations: 197.1 kB / 16.67 MB, free: 5.914 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09572/0.09572, allocations: 22.32 MB / 312.9 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002083, allocations: 67.89 kB / 436.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1156, allocations: 54.95 MB / 491.5 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004603/0.1203, allocations: 3.196 MB / 494.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1223, allocations: 0.9079 MB / 495.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.1227, allocations: 4 kB / 495.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.123, allocations: 71.36 kB / 495.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006024/0.1236, allocations: 166.7 kB / 495.8 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.1242, allocations: 191.6 kB / 496 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000914/0.1252, allocations: 0.7522 MB / 496.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007321/0.1259, allocations: 441.8 kB / 497.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.1263, allocations: 307.1 kB / 497.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.1268, allocations: 390.7 kB / 497.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.127, allocations: 76 kB / 498 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1271, allocations: 80 kB / 498.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.1273, allocations: 203.4 kB / 498.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.1276, allocations: 334.6 kB / 498.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000785/0.1284, allocations: 0.8062 MB / 499.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1285, allocations: 0 / 499.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1285, allocations: 0 / 499.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.1285, allocations: 0 / 499.4 MB, free: 13.36 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.002171/0.1307, allocations: 0.9043 MB / 0.4886 GB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1307, allocations: 8.031 kB / 0.4886 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.1308, allocations: 90.7 kB / 0.4887 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.131, allocations: 64.28 kB / 0.4887 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.1316, allocations: 388.1 kB / 0.4891 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.1317, allocations: 105 kB / 0.4892 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.1318, allocations: 52.38 kB / 0.4892 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1335, allocations: 0.6817 MB / 0.4899 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1335, allocations: 3.938 kB / 0.4899 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.1336, allocations: 24 kB / 0.4899 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1336, allocations: 15.98 kB / 0.4899 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.1351, allocations: 0.5972 MB / 0.4905 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005554/0.1407, allocations: 2.567 MB / 0.493 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.1419, allocations: 0.5424 MB / 0.4936 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/0.1428, allocations: 401.4 kB / 0.4939 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.1428, allocations: 8.375 kB / 0.494 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1429, allocations: 34.94 kB / 0.494 GB, free: 6.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.335e-06/0.1429, allocations: 0 / 0.494 GB, free: 6.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.005952/0.1488, allocations: 2.164 MB / 0.4961 GB, free: 4.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1489, allocations: 59.84 kB / 0.4962 GB, free: 4.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.1494, allocations: 361.6 kB / 0.4965 GB, free: 4.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.1494, allocations: 33.7 kB / 0.4965 GB, free: 4.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1496, allocations: 232.9 kB / 0.4968 GB, free: 3.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.1498, allocations: 173.5 kB / 0.4969 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.15, allocations: 98.14 kB / 0.497 GB, free: 3.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1501, allocations: 354.8 kB / 0.4974 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009295/0.1511, allocations: 366.7 kB / 0.4977 GB, free: 2.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008628/0.152, allocations: 415.9 kB / 0.4981 GB, free: 2.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006742/0.1587, allocations: 1.981 MB / 0.5 GB, free: 364 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1587, allocations: 0 / 0.5 GB, free: 364 kB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.2108/0.3696, allocations: 0.8371 MB / 0.5009 GB, free: 22.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3696, allocations: 8.703 kB / 0.5009 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3696, allocations: 2.062 kB / 0.5009 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.3697, allocations: 6.688 kB / 0.5009 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/0.3754, allocations: 0.8959 MB / 0.5017 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3754, allocations: 5.844 kB / 0.5018 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.3759, allocations: 60.53 kB / 0.5018 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.376, allocations: 16.88 kB / 0.5018 GB, free: 22.21 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (66): * Single equations (assignments): 66 * 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.0002838/0.3763, allocations: 207 kB / 0.502 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.3764, allocations: 36.78 kB / 0.5021 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.3783, allocations: 0.8188 MB / 0.5029 GB, free: 22.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3783, allocations: 8.234 kB / 0.5029 GB, free: 22.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3783, allocations: 5.078 kB / 0.5029 GB, free: 22.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.3784, allocations: 2.109 kB / 0.5029 GB, free: 22.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.3815, allocations: 1.73 MB / 0.5046 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3815, allocations: 0.7969 kB / 0.5046 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005924/0.3874, allocations: 0.8855 MB / 0.5054 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.3874, allocations: 2.312 kB / 0.5054 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.3875, allocations: 17.23 kB / 0.5054 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.3875, allocations: 14.06 kB / 0.5055 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3875, allocations: 0 / 0.5055 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.3902, allocations: 1.25 MB / 0.5067 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.3903, allocations: 118.8 kB / 0.5068 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/0.3904, allocations: 12.44 kB / 0.5068 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.391, allocations: 52.06 kB / 0.5069 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.3911, allocations: 75.52 kB / 0.5069 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.3912, allocations: 21.31 kB / 0.5069 GB, free: 21.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.3914, allocations: 257.3 kB / 0.5072 GB, free: 21.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.31e-07/0.3914, allocations: 0 / 0.5072 GB, free: 21.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000456/0.3919, allocations: 141.1 kB / 0.5073 GB, free: 21.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (51): * Single equations (assignments): 51 * 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.002846/0.3948, allocations: 1.797 MB / 0.5091 GB, free: 20.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.3967, allocations: 0.7853 MB / 0.5098 GB, free: 20.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3967, allocations: 1.688 kB / 0.5099 GB, free: 20.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009362/0.3976, allocations: 408.4 kB / 0.5102 GB, free: 20.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.3982, allocations: 116 kB / 0.5104 GB, free: 20.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.4088, allocations: 6.054 MB / 0.5163 GB, free: 18.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.4091, allocations: 0.8551 MB / 0.5171 GB, free: 17.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004347/0.4096, allocations: 90.81 kB / 0.5172 GB, free: 17.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/0.4101, allocations: 187 kB / 0.5174 GB, free: 17.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4101, allocations: 0 / 0.5174 GB, free: 17.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.4454, allocations: 12.96 MB / 0.53 GB, free: 12.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.86/9.305, allocations: 7.938 kB / 0.53 GB, free: 12.56 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_002_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_002.fmu > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)