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.007595/0.007595, allocations: 99.89 kB / 15.73 MB, free: 6.059 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.001805/0.001805, allocations: 194.1 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09754/0.09754, allocations: 22.33 MB / 312.9 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 55.91 kB / 436.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09667, allocations: 54.96 MB / 491.5 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.0041/0.1008, allocations: 3.207 MB / 494.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1026, allocations: 0.9041 MB / 495.6 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.1029, allocations: 4 kB / 495.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1032, allocations: 71.3 kB / 495.7 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.1036, allocations: 174.7 kB / 495.9 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.1042, allocations: 195.7 kB / 496.1 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008014/0.105, allocations: 0.7444 MB / 496.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005812/0.1056, allocations: 437.8 kB / 497.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.106, allocations: 315 kB / 497.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/0.1066, allocations: 390.7 kB / 497.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.1068, allocations: 76 kB / 498 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1069, allocations: 80 kB / 498.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.1071, allocations: 199.4 kB / 498.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.1075, allocations: 338.6 kB / 498.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007672/0.1082, allocations: 0.7978 MB / 499.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1083, allocations: 4 kB / 499.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1083, allocations: 0 / 499.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.158e-05/0.1083, allocations: 0 / 499.4 MB, free: 13.31 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.002099/0.1104, allocations: 0.9116 MB / 0.4886 GB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1105, allocations: 8.031 kB / 0.4886 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.1106, allocations: 94.7 kB / 0.4887 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1107, allocations: 64.56 kB / 0.4887 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.1113, allocations: 392.3 kB / 0.4891 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.1114, allocations: 105 kB / 0.4892 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.1116, allocations: 56.33 kB / 0.4893 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1132, allocations: 0.6855 MB / 0.4899 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1132, allocations: 0 / 0.4899 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.1133, allocations: 23.98 kB / 0.49 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1133, allocations: 19.94 kB / 0.49 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.1148, allocations: 0.5933 MB / 0.4906 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005589/0.1204, allocations: 2.587 MB / 0.4931 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.1218, allocations: 0.5313 MB / 0.4936 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009069/0.1227, allocations: 397.4 kB / 0.494 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.1227, allocations: 8.516 kB / 0.494 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1228, allocations: 46.92 kB / 0.494 GB, free: 6.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.994e-06/0.1228, allocations: 0 / 0.494 GB, free: 6.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.005878/0.1287, allocations: 2.165 MB / 0.4962 GB, free: 4.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1287, allocations: 55.84 kB / 0.4962 GB, free: 4.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.1292, allocations: 365.7 kB / 0.4966 GB, free: 3.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.1292, allocations: 33.7 kB / 0.4966 GB, free: 3.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1294, allocations: 232.8 kB / 0.4968 GB, free: 3.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.1296, allocations: 190.3 kB / 0.497 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.1298, allocations: 94.23 kB / 0.4971 GB, free: 3.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.13, allocations: 358.8 kB / 0.4974 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008666/0.1308, allocations: 366.7 kB / 0.4978 GB, free: 2.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008776/0.1317, allocations: 408 kB / 0.4982 GB, free: 2.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006781/0.1385, allocations: 1.985 MB / 0.5001 GB, free: 264 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1385, allocations: 0 / 0.5001 GB, free: 264 kB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.2098/0.3483, allocations: 0.8412 MB / 0.5009 GB, free: 22.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3484, allocations: 5.781 kB / 0.5009 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3484, allocations: 0 / 0.5009 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3484, allocations: 6.031 kB / 0.5009 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005885/0.3543, allocations: 0.8989 MB / 0.5018 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.3544, allocations: 5.094 kB / 0.5018 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.355, allocations: 55.42 kB / 0.5019 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.355, allocations: 22.89 kB / 0.5019 GB, free: 22.07 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.0003412/0.3554, allocations: 204.8 kB / 0.5021 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3555, allocations: 48.7 kB / 0.5021 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.3575, allocations: 0.8169 MB / 0.5029 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3575, allocations: 5.188 kB / 0.5029 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3575, allocations: 1.172 kB / 0.5029 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.3575, allocations: 2.625 kB / 0.5029 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.3608, allocations: 1.728 MB / 0.5046 GB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3608, allocations: 2.156 kB / 0.5046 GB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006018/0.3669, allocations: 0.8807 MB / 0.5055 GB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.3669, allocations: 6.156 kB / 0.5055 GB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/0.367, allocations: 18.98 kB / 0.5055 GB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/0.367, allocations: 9.391 kB / 0.5055 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.367, allocations: 1.125 kB / 0.5055 GB, free: 21.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.3697, allocations: 1.25 MB / 0.5067 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3698, allocations: 117.3 kB / 0.5069 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.37, allocations: 14.16 kB / 0.5069 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.3705, allocations: 60.05 kB / 0.5069 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.3707, allocations: 72 kB / 0.507 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.3707, allocations: 16.27 kB / 0.507 GB, free: 21.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.371, allocations: 259.1 kB / 0.5073 GB, free: 21.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.371, allocations: 0 / 0.5073 GB, free: 21.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005069/0.3715, allocations: 143.1 kB / 0.5074 GB, free: 21.19 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.002883/0.3744, allocations: 1.804 MB / 0.5092 GB, free: 20.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.3763, allocations: 0.777 MB / 0.5099 GB, free: 20.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3764, allocations: 1.219 kB / 0.5099 GB, free: 20.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000916/0.3773, allocations: 413.5 kB / 0.5103 GB, free: 20.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.378, allocations: 111.7 kB / 0.5104 GB, free: 20.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.3896, allocations: 6.077 MB / 0.5163 GB, free: 18.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.3901, allocations: 0.8542 MB / 0.5172 GB, free: 17.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005761/0.3907, allocations: 99.44 kB / 0.5173 GB, free: 17.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/0.3912, allocations: 186.4 kB / 0.5175 GB, free: 17.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.194e-06/0.3912, allocations: 0 / 0.5175 GB, free: 17.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.4279, allocations: 12.66 MB / 0.5298 GB, free: 12.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/8.748, allocations: 11.3 kB / 0.5298 GB, free: 12.58 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 & 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)