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.006169/0.006169, allocations: 107 kB / 15.74 MB, free: 6.449 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.001554/0.001554, allocations: 197 kB / 16.67 MB, free: 6.355 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1919/0.1919, allocations: 22.34 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 68.47 kB / 436.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09143, allocations: 54.97 MB / 491.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003493/0.09495, allocations: 3.208 MB / 494.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.09659, allocations: 0.9002 MB / 495.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.09691, allocations: 4 kB / 495.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.09722, allocations: 67.3 kB / 495.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005015/0.09773, allocations: 170.7 kB / 495.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.09836, allocations: 199.6 kB / 496.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008696/0.09924, allocations: 0.7406 MB / 496.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006697/0.09993, allocations: 449.7 kB / 497.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004395/0.1004, allocations: 303.1 kB / 497.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.101, allocations: 394.7 kB / 497.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.1012, allocations: 76 kB / 498 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1014, allocations: 76 kB / 498.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.1016, allocations: 211.4 kB / 498.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.1021, allocations: 342.5 kB / 498.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008821/0.103, allocations: 0.7836 MB / 499.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.103, allocations: 0 / 499.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.103, allocations: 0 / 499.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.671e-05/0.1031, allocations: 0 / 499.4 MB, free: 9.797 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.002289/0.1054, allocations: 0.9042 MB / 0.4886 GB, free: 8.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1054, allocations: 15.97 kB / 0.4886 GB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.1055, allocations: 98.7 kB / 0.4887 GB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1057, allocations: 60.28 kB / 0.4888 GB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.1062, allocations: 388.1 kB / 0.4891 GB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.1063, allocations: 105 kB / 0.4892 GB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.1064, allocations: 48.38 kB / 0.4893 GB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.1079, allocations: 0.6933 MB / 0.4899 GB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1079, allocations: 7.984 kB / 0.49 GB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.108, allocations: 20 kB / 0.49 GB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.108, allocations: 12 kB / 0.49 GB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1093, allocations: 0.5933 MB / 0.4906 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004906/0.1142, allocations: 2.574 MB / 0.4931 GB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.1153, allocations: 0.527 MB / 0.4936 GB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.1161, allocations: 401.4 kB / 0.494 GB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.1161, allocations: 8.906 kB / 0.494 GB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1162, allocations: 42.92 kB / 0.494 GB, free: 3.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.923e-06/0.1162, allocations: 0 / 0.494 GB, free: 3.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.005228/0.1214, allocations: 2.157 MB / 0.4961 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1214, allocations: 55.84 kB / 0.4962 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.1218, allocations: 361.6 kB / 0.4965 GB, free: 496 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.1219, allocations: 41.69 kB / 0.4966 GB, free: 448 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.122, allocations: 228.4 kB / 0.4968 GB, free: 216 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.1221, allocations: 181.4 kB / 0.497 GB, free: 32 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.1223, allocations: 90.23 kB / 0.497 GB, free: 15.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1225, allocations: 358.8 kB / 0.4974 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007907/0.1233, allocations: 366.6 kB / 0.4977 GB, free: 15.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/0.1241, allocations: 419.9 kB / 0.4981 GB, free: 14.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006133/0.1302, allocations: 1.974 MB / 0.5001 GB, free: 12.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1302, allocations: 0 / 0.5001 GB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001766/0.132, allocations: 0.8497 MB / 0.5009 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.132, allocations: 10.81 kB / 0.5009 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.132, allocations: 3.938 kB / 0.5009 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1321, allocations: 4 kB / 0.5009 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005395/0.1375, allocations: 0.8935 MB / 0.5018 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.1375, allocations: 4 kB / 0.5018 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.138, allocations: 59.86 kB / 0.5018 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.1381, allocations: 23.98 kB / 0.5019 GB, free: 10.93 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.0003415/0.1384, allocations: 202 kB / 0.5021 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1385, allocations: 43.47 kB / 0.5021 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.1404, allocations: 0.821 MB / 0.5029 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1404, allocations: 4 kB / 0.5029 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1404, allocations: 3.984 kB / 0.5029 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1404, allocations: 0 / 0.5029 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.1436, allocations: 1.747 MB / 0.5046 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1437, allocations: 0 / 0.5046 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005376/0.149, allocations: 0.8856 MB / 0.5055 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.1491, allocations: 0 / 0.5055 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.1491, allocations: 19.98 kB / 0.5055 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1491, allocations: 0 / 0.5055 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1491, allocations: 4 kB / 0.5055 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.1516, allocations: 1.25 MB / 0.5067 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.1518, allocations: 120.5 kB / 0.5068 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.1519, allocations: 15.98 kB / 0.5069 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.1524, allocations: 47.94 kB / 0.5069 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.1526, allocations: 76.33 kB / 0.507 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.1526, allocations: 19.92 kB / 0.507 GB, free: 5.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.1529, allocations: 259.2 kB / 0.5072 GB, free: 5.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1529, allocations: 0 / 0.5072 GB, free: 5.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000477/0.1534, allocations: 140 kB / 0.5074 GB, free: 5.172 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.003501/0.1569, allocations: 1.806 MB / 0.5091 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.1586, allocations: 0.775 MB / 0.5099 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1586, allocations: 4 kB / 0.5099 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008379/0.1594, allocations: 410.5 kB / 0.5103 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.1601, allocations: 105.6 kB / 0.5104 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.1705, allocations: 6.059 MB / 0.5163 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1709, allocations: 0.8509 MB / 0.5171 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003611/0.1713, allocations: 96.33 kB / 0.5172 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.1717, allocations: 183.4 kB / 0.5174 GB, free: 10.71 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1717, allocations: 0 / 0.5174 GB, free: 10.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03421/0.2059, allocations: 12.95 MB / 0.5301 GB, free: 13.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.426, allocations: 12.77 kB / 0.5301 GB, free: 13.89 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)