Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.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.ProcessComponents.Thermal.Liquid.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",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.008341/0.008341, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.001687/0.001687, allocations: 192.8 kB / 16.67 MB, free: 5.926 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08986/0.08986, allocations: 22.33 MB / 312.9 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 436.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 54.96 MB / 491.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.002614/0.1062, allocations: 1.597 MB / 493.1 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.1069, allocations: 462.9 kB / 493.6 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.107, allocations: 7.938 kB / 493.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.1072, allocations: 27.78 kB / 493.6 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1073, allocations: 75.64 kB / 493.7 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.1075, allocations: 27.95 kB / 493.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.1079, allocations: 423.1 kB / 494.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.1082, allocations: 145.1 kB / 494.2 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.1084, allocations: 159.7 kB / 494.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.1087, allocations: 191.5 kB / 494.6 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.1087, allocations: 28 kB / 494.6 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.1088, allocations: 28 kB / 494.6 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.1089, allocations: 143.7 kB / 494.8 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1091, allocations: 163.3 kB / 494.9 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.1095, allocations: 382.7 kB / 495.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1095, allocations: 4 kB / 495.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1095, allocations: 0 / 495.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1095, allocations: 0 / 495.3 MB, free: 1.406 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001326/0.1109, allocations: 0.6861 MB / 496 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1109, allocations: 8.031 kB / 496 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.215e-05/0.111, allocations: 62.73 kB / 496.1 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.1111, allocations: 36.72 kB / 496.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.1115, allocations: 279.9 kB / 496.4 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.1116, allocations: 20.94 kB / 496.4 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.1116, allocations: 28.33 kB / 496.4 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.1122, allocations: 381.1 kB / 496.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1123, allocations: 0 / 496.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/0.1123, allocations: 16 kB / 496.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1123, allocations: 8 kB / 496.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.1127, allocations: 243.8 kB / 497.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.1147, allocations: 1.752 MB / 498.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.1154, allocations: 445.1 kB / 499.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.1156, allocations: 148.4 kB / 499.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1156, allocations: 4 kB / 499.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1156, allocations: 38.5 kB / 499.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.1156, allocations: 0 / 499.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008034/0.1165, allocations: 430.5 kB / 499.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.1165, allocations: 166.2 kB / 0.4883 GB, free: 12.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1168, allocations: 214.6 kB / 0.4885 GB, free: 12.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1168, allocations: 29.7 kB / 0.4885 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.1169, allocations: 160.8 kB / 0.4887 GB, free: 11.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.648e-05/0.117, allocations: 126.9 kB / 0.4888 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1171, allocations: 70.14 kB / 0.4889 GB, free: 11.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1172, allocations: 338.8 kB / 0.4892 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.1175, allocations: 164.8 kB / 0.4894 GB, free: 11.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.1178, allocations: 285.2 kB / 0.4896 GB, free: 10.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.1184, allocations: 480.5 kB / 0.4901 GB, free: 10.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1184, allocations: 0 / 0.4901 GB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006896/0.1191, allocations: 0.4935 MB / 0.4906 GB, free: 9.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1191, allocations: 16.3 kB / 0.4906 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1191, allocations: 0 / 0.4906 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1191, allocations: 8 kB / 0.4906 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.1197, allocations: 147.8 kB / 0.4907 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1197, allocations: 12 kB / 0.4907 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.1199, allocations: 39.77 kB / 0.4908 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.12, allocations: 16 kB / 0.4908 GB, free: 9.602 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (50): * Single equations (assignments): 50 * 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.0001639/0.1201, allocations: 178.4 kB / 0.491 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.1203, allocations: 31.84 kB / 0.491 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.1204, allocations: 37 kB / 0.491 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1204, allocations: 4 kB / 0.491 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1204, allocations: 7.938 kB / 0.491 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1204, allocations: 3.984 kB / 0.4911 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006335/0.121, allocations: 401.3 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.121, allocations: 4 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.1217, allocations: 119.9 kB / 0.4916 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1217, allocations: 4 kB / 0.4916 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.1217, allocations: 23.98 kB / 0.4916 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1218, allocations: 4 kB / 0.4916 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.1218, allocations: 7.938 kB / 0.4916 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/0.1225, allocations: 0.7906 MB / 0.4924 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.1226, allocations: 105 kB / 0.4925 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.1227, allocations: 27.98 kB / 0.4925 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.123, allocations: 7.984 kB / 0.4925 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.123, allocations: 27.91 kB / 0.4925 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.123, allocations: 8 kB / 0.4925 GB, free: 7.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1232, allocations: 143.2 kB / 0.4927 GB, free: 7.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1232, allocations: 0 / 0.4927 GB, free: 7.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005398/0.1237, allocations: 100 kB / 0.4928 GB, free: 7.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (wall.T[1,1],wall.T[1,2],wall.T[1,3],wall.T[2,1],wall.T[2,2],wall.T[2,3],wall.T[3,1],wall.T[3,2],wall.T[3,3],wall.T[4,1],wall.T[4,2],wall.T[4,3],wall.T[5,1],wall.T[5,2],wall.T[5,3]) * 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 (25): * Single equations (assignments): 25 * 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.001008/0.1247, allocations: 1.365 MB / 0.4941 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.1253, allocations: 371.6 kB / 0.4945 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1253, allocations: 0 / 0.4945 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.1255, allocations: 147.7 kB / 0.4946 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.1263, allocations: 95.67 kB / 0.4947 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.1312, allocations: 4.545 MB / 0.4991 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1969/0.3282, allocations: 0.7845 MB / 0.4999 GB, free: 21.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.3286, allocations: 150.7 kB / 0.5 GB, free: 21.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.3288, allocations: 83.94 kB / 0.5001 GB, free: 21.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3288, allocations: 0 / 0.5001 GB, free: 21.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3586, allocations: 7.354 MB / 0.5073 GB, free: 21.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.342, allocations: 15.03 kB / 0.5073 GB, free: 21.13 MB / 382.1 MB (rm -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessComponents.Thermal.Liquid.TubeWall_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessComponents_Thermal_Liquid_TubeWall.fmu > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1)