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.007422/0.007422, allocations: 99.16 kB / 15.73 MB, free: 6.492 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.001834/0.001834, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2286/0.2286, allocations: 22.34 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 66.67 kB / 436.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1036, allocations: 54.97 MB / 491.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.002557/0.1062, allocations: 1.596 MB / 493.1 MB, free: 116 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000831/0.107, allocations: 458.9 kB / 493.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.1071, allocations: 3.938 kB / 493.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.1073, allocations: 23.8 kB / 493.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1074, allocations: 83.61 kB / 493.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.1076, allocations: 23.97 kB / 493.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.1081, allocations: 427.1 kB / 494.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.1083, allocations: 140.9 kB / 494.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.1085, allocations: 167.6 kB / 494.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.1088, allocations: 195.5 kB / 494.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.1089, allocations: 28 kB / 494.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.922e-05/0.109, allocations: 28 kB / 494.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.1091, allocations: 139.7 kB / 494.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.1093, allocations: 167.3 kB / 495 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.1097, allocations: 383 kB / 495.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1097, allocations: 0 / 495.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1098, allocations: 0 / 495.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1098, allocations: 3.938 kB / 495.4 MB, free: 13.88 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.00134/0.1111, allocations: 0.6939 MB / 496.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1112, allocations: 8.031 kB / 496.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.16e-05/0.1112, allocations: 58.73 kB / 496.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.1113, allocations: 24.8 kB / 496.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1117, allocations: 280 kB / 496.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.1117, allocations: 16.94 kB / 496.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.1118, allocations: 32.33 kB / 496.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.1123, allocations: 385 kB / 496.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1123, allocations: 0 / 496.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.1124, allocations: 4 kB / 496.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1124, allocations: 8 kB / 496.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.1128, allocations: 247.8 kB / 497.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.1149, allocations: 1.768 MB / 498.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.1155, allocations: 441.1 kB / 499.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.1157, allocations: 148.4 kB / 499.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.1158, allocations: 7.938 kB / 499.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1158, allocations: 38.56 kB / 499.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.1158, allocations: 0 / 499.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.000806/0.1166, allocations: 430.4 kB / 499.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.1167, allocations: 166.1 kB / 0.4884 GB, free: 8.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1169, allocations: 210.7 kB / 0.4886 GB, free: 8.539 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.117, allocations: 29.7 kB / 0.4886 GB, free: 8.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1171, allocations: 164.2 kB / 0.4887 GB, free: 8.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1172, allocations: 115.1 kB / 0.4888 GB, free: 8.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.1173, allocations: 78.12 kB / 0.4889 GB, free: 8.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1175, allocations: 334.8 kB / 0.4892 GB, free: 7.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.1178, allocations: 164.8 kB / 0.4894 GB, free: 7.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.1181, allocations: 279.4 kB / 0.4897 GB, free: 7.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.1187, allocations: 476.5 kB / 0.4901 GB, free: 6.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1187, allocations: 0 / 0.4901 GB, free: 6.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007357/0.1195, allocations: 0.5012 MB / 0.4906 GB, free: 6.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1195, allocations: 8 kB / 0.4906 GB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1195, allocations: 8 kB / 0.4906 GB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1195, allocations: 4 kB / 0.4906 GB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.1201, allocations: 148.2 kB / 0.4908 GB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.1201, allocations: 15.88 kB / 0.4908 GB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.1203, allocations: 47.7 kB / 0.4908 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.1204, allocations: 16 kB / 0.4908 GB, free: 6.07 MB / 366.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.0001735/0.1205, allocations: 174.4 kB / 0.491 GB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.1207, allocations: 23.86 kB / 0.491 GB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.1208, allocations: 45.2 kB / 0.4911 GB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.1208, allocations: 4 kB / 0.4911 GB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1208, allocations: 11.88 kB / 0.4911 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1208, allocations: 0 / 0.4911 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.1215, allocations: 397.3 kB / 0.4915 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1215, allocations: 7.984 kB / 0.4915 GB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.1221, allocations: 127.9 kB / 0.4916 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1221, allocations: 0 / 0.4916 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.1222, allocations: 19.98 kB / 0.4916 GB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1222, allocations: 0 / 0.4916 GB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1222, allocations: 7.938 kB / 0.4916 GB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.123, allocations: 0.796 MB / 0.4924 GB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.1231, allocations: 105.1 kB / 0.4925 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.1232, allocations: 16 kB / 0.4925 GB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.1235, allocations: 19.97 kB / 0.4925 GB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.1236, allocations: 23.92 kB / 0.4926 GB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1236, allocations: 7.984 kB / 0.4926 GB, free: 4.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1237, allocations: 151.2 kB / 0.4927 GB, free: 4.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1237, allocations: 0 / 0.4927 GB, free: 4.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000509/0.1242, allocations: 99.89 kB / 0.4928 GB, free: 3.961 MB / 366.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.001142/0.1254, allocations: 1.363 MB / 0.4941 GB, free: 2.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005733/0.126, allocations: 367.8 kB / 0.4945 GB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.126, allocations: 0 / 0.4945 GB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.1262, allocations: 135.9 kB / 0.4946 GB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.1269, allocations: 104.8 kB / 0.4947 GB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/0.1323, allocations: 4.545 MB / 0.4992 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.1328, allocations: 0.7911 MB / 0.4999 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003246/0.1331, allocations: 154.1 kB / 0.5001 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.1333, allocations: 83.41 kB / 0.5002 GB, free: 12.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1333, allocations: 0 / 0.5002 GB, free: 12.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.1629, allocations: 7.35 MB / 0.5073 GB, free: 4.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.613, allocations: 15 kB / 0.5073 GB, free: 4.949 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Thermal_Liquid_TubeWall_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Thermal_Liquid_TubeWall.fmu > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1)