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.007279/0.007279, allocations: 97.56 kB / 15.73 MB, free: 6.039 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.00185/0.001851, allocations: 201.4 kB / 16.68 MB, free: 5.961 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1947/0.1947, allocations: 22.35 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 67.05 kB / 436.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08009/0.08283, allocations: 54.97 MB / 491.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003868/0.08674, allocations: 3.194 MB / 494.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.08855, allocations: 0.9157 MB / 495.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.0888, allocations: 4 kB / 495.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.08903, allocations: 63.36 kB / 495.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.08942, allocations: 170.7 kB / 495.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.08998, allocations: 203.5 kB / 496.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008549/0.09085, allocations: 0.7406 MB / 496.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006536/0.09151, allocations: 441.7 kB / 497.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004229/0.09194, allocations: 311.1 kB / 497.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.09254, allocations: 390.7 kB / 498 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.09271, allocations: 76 kB / 498 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.09287, allocations: 80 kB / 498.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.09309, allocations: 199.5 kB / 498.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.09346, allocations: 338.5 kB / 498.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008321/0.0943, allocations: 0.794 MB / 499.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.09432, allocations: 7.875 kB / 499.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09432, allocations: 0 / 499.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.09434, allocations: 0 / 499.4 MB, free: 9.875 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002055/0.0964, allocations: 0.9193 MB / 0.4886 GB, free: 8.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.09645, allocations: 12.03 kB / 0.4886 GB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.09657, allocations: 98.7 kB / 0.4887 GB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.09672, allocations: 64.56 kB / 0.4888 GB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.09729, allocations: 388.4 kB / 0.4892 GB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.09745, allocations: 105 kB / 0.4893 GB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.09756, allocations: 52.33 kB / 0.4893 GB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.09922, allocations: 0.6856 MB / 0.49 GB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.09924, allocations: 0 / 0.49 GB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.09932, allocations: 23.98 kB / 0.49 GB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.09934, allocations: 15.98 kB / 0.49 GB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.1009, allocations: 0.5972 MB / 0.4906 GB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005594/0.1065, allocations: 2.575 MB / 0.4931 GB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.1078, allocations: 0.5308 MB / 0.4936 GB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009733/0.1088, allocations: 405.4 kB / 0.494 GB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.1088, allocations: 8.906 kB / 0.494 GB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1089, allocations: 34.94 kB / 0.4941 GB, free: 3.184 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.914e-06/0.1089, allocations: 4 kB / 0.4941 GB, free: 3.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.00611/0.115, allocations: 2.165 MB / 0.4962 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.115, allocations: 55.84 kB / 0.4962 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.1155, allocations: 365.6 kB / 0.4966 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.1155, allocations: 33.7 kB / 0.4966 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1157, allocations: 236.8 kB / 0.4969 GB, free: 264 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.1159, allocations: 190.3 kB / 0.497 GB, free: 72 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.1161, allocations: 94.23 kB / 0.4971 GB, free: 15.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1163, allocations: 354.8 kB / 0.4975 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.1173, allocations: 366.7 kB / 0.4978 GB, free: 15.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/0.1182, allocations: 412 kB / 0.4982 GB, free: 14.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007167/0.1254, allocations: 1.977 MB / 0.5001 GB, free: 12.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1254, allocations: 3.938 kB / 0.5001 GB, free: 12.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00209/0.1275, allocations: 0.8538 MB / 0.501 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1276, allocations: 4 kB / 0.501 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1276, allocations: 4 kB / 0.501 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1276, allocations: 4 kB / 0.501 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006247/0.1338, allocations: 0.8973 MB / 0.5019 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.1339, allocations: 4 kB / 0.5019 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.1344, allocations: 59.86 kB / 0.5019 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.1345, allocations: 19.98 kB / 0.5019 GB, free: 10.97 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.0003558/0.1349, allocations: 208.6 kB / 0.5021 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.135, allocations: 51.64 kB / 0.5022 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.1371, allocations: 0.8172 MB / 0.503 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1372, allocations: 4 kB / 0.503 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1372, allocations: 0 / 0.503 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1372, allocations: 3.984 kB / 0.503 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/0.1409, allocations: 1.74 MB / 0.5047 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1409, allocations: 0 / 0.5047 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006309/0.1472, allocations: 0.8856 MB / 0.5056 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.1472, allocations: 0 / 0.5056 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.1473, allocations: 19.98 kB / 0.5056 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1473, allocations: 0 / 0.5056 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1473, allocations: 0 / 0.5056 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.1503, allocations: 1.255 MB / 0.5068 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.1504, allocations: 120.8 kB / 0.5069 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.627e-05/0.1505, allocations: 12 kB / 0.5069 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.1511, allocations: 55.92 kB / 0.507 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.1513, allocations: 72.33 kB / 0.5071 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.1513, allocations: 19.94 kB / 0.5071 GB, free: 5.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.1516, allocations: 259.2 kB / 0.5073 GB, free: 5.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1516, allocations: 0 / 0.5073 GB, free: 5.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.1521, allocations: 144 kB / 0.5075 GB, free: 5.207 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.003351/0.1555, allocations: 1.799 MB / 0.5092 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.1575, allocations: 0.7828 MB / 0.51 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1575, allocations: 0 / 0.51 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.1585, allocations: 406.5 kB / 0.5104 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.1591, allocations: 113.6 kB / 0.5105 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.171, allocations: 6.085 MB / 0.5164 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.1715, allocations: 0.8548 MB / 0.5173 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000411/0.1719, allocations: 92.33 kB / 0.5173 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.1724, allocations: 187.4 kB / 0.5175 GB, free: 10.72 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1724, allocations: 0 / 0.5175 GB, free: 10.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.352/0.5244, allocations: 12.66 MB / 0.5299 GB, free: 14.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.586/10.11, allocations: 6.188 kB / 0.5299 GB, free: 14.19 MB / 414.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)