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.005873/0.005873, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001223/0.001223, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2072/0.2072, allocations: 22.36 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 65.31 kB / 436.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09162, allocations: 54.97 MB / 491.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.002407/0.09407, allocations: 1.607 MB / 493.1 MB, free: 128 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.09493, allocations: 462.9 kB / 493.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.09502, allocations: 0 / 493.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.09521, allocations: 27.78 kB / 493.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.09539, allocations: 75.62 kB / 493.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.09558, allocations: 27.91 kB / 493.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.09607, allocations: 431.1 kB / 494.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.09635, allocations: 144.9 kB / 494.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.09667, allocations: 163.6 kB / 494.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.09699, allocations: 179.5 kB / 494.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/0.09707, allocations: 32 kB / 494.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.09714, allocations: 28 kB / 494.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.0973, allocations: 147.7 kB / 494.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.09752, allocations: 163.3 kB / 495 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.09793, allocations: 383.8 kB / 495.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.09794, allocations: 8 kB / 495.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09795, allocations: 0 / 495.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.09797, allocations: 0 / 495.4 MB, free: 13.89 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.001381/0.09935, allocations: 0.6746 MB / 496 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.09941, allocations: 12.03 kB / 496.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.821e-05/0.0995, allocations: 66.72 kB / 496.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.09959, allocations: 32.56 kB / 496.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.09998, allocations: 275.9 kB / 496.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.1, allocations: 20.94 kB / 496.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.1001, allocations: 24.38 kB / 496.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/0.1007, allocations: 385 kB / 496.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1007, allocations: 4 kB / 496.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.1007, allocations: 8 kB / 496.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1008, allocations: 4 kB / 496.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.1012, allocations: 247.8 kB / 497.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.1035, allocations: 1.752 MB / 498.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.1041, allocations: 441.1 kB / 499.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.1043, allocations: 164.2 kB / 499.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1044, allocations: 4 kB / 499.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.1044, allocations: 42.56 kB / 499.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.1044, allocations: 0 / 499.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008067/0.1052, allocations: 425.1 kB / 499.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.1053, allocations: 170.1 kB / 0.4883 GB, free: 8.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1056, allocations: 206.8 kB / 0.4885 GB, free: 8.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1056, allocations: 29.7 kB / 0.4886 GB, free: 8.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1057, allocations: 156 kB / 0.4887 GB, free: 8.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1058, allocations: 110.5 kB / 0.4888 GB, free: 8.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.106, allocations: 82.05 kB / 0.4889 GB, free: 8.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1061, allocations: 334.8 kB / 0.4892 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.1064, allocations: 168.8 kB / 0.4894 GB, free: 7.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.1067, allocations: 282.9 kB / 0.4897 GB, free: 7.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/0.1072, allocations: 472.5 kB / 0.4901 GB, free: 6.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1072, allocations: 0 / 0.4901 GB, free: 6.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006795/0.1079, allocations: 0.4937 MB / 0.4906 GB, free: 6.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.108, allocations: 10.84 kB / 0.4906 GB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.108, allocations: 4.078 kB / 0.4906 GB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.108, allocations: 8 kB / 0.4906 GB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.1086, allocations: 143.8 kB / 0.4907 GB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.1086, allocations: 17.11 kB / 0.4908 GB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1088, allocations: 43.66 kB / 0.4908 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.1088, allocations: 16 kB / 0.4908 GB, free: 6.109 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.0002021/0.109, allocations: 178.8 kB / 0.491 GB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.1092, allocations: 31.66 kB / 0.491 GB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.978e-05/0.1093, allocations: 40.98 kB / 0.4911 GB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1093, allocations: 7.938 kB / 0.4911 GB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.1093, allocations: 3.938 kB / 0.4911 GB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1093, allocations: 4 kB / 0.4911 GB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.11, allocations: 397.2 kB / 0.4915 GB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.11, allocations: 0 / 0.4915 GB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/0.1106, allocations: 131.9 kB / 0.4916 GB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1106, allocations: 4 kB / 0.4916 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.1107, allocations: 19.98 kB / 0.4916 GB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1107, allocations: 7.938 kB / 0.4916 GB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1107, allocations: 3.938 kB / 0.4916 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.1114, allocations: 0.7881 MB / 0.4924 GB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.1115, allocations: 104.9 kB / 0.4925 GB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.1116, allocations: 19.98 kB / 0.4925 GB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.1119, allocations: 19.97 kB / 0.4925 GB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.1119, allocations: 19.86 kB / 0.4925 GB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1119, allocations: 15.94 kB / 0.4926 GB, free: 4.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1121, allocations: 143.2 kB / 0.4927 GB, free: 4.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1121, allocations: 0 / 0.4927 GB, free: 4.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005107/0.1126, allocations: 103.8 kB / 0.4928 GB, free: 3.992 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.001081/0.1137, allocations: 1.355 MB / 0.4941 GB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005277/0.1143, allocations: 363.5 kB / 0.4945 GB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1143, allocations: 0 / 0.4945 GB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.1145, allocations: 143.8 kB / 0.4946 GB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/0.1152, allocations: 89.97 kB / 0.4947 GB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.1201, allocations: 4.541 MB / 0.4991 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1205, allocations: 0.7911 MB / 0.4999 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.1208, allocations: 158 kB / 0.5 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.1209, allocations: 79.41 kB / 0.5001 GB, free: 12.25 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1209, allocations: 0 / 0.5001 GB, free: 12.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.1455, allocations: 7.449 MB / 0.5074 GB, free: 4.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/7.892, allocations: 15.78 kB / 0.5074 GB, free: 4.898 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)