Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.001202/0.001202, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001125/0.001126, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9851/0.9851, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 9.688 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.189, allocations: 82.31 MB / 0.5873 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004648/0.1937, allocations: 3.389 MB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001696/0.1939, allocations: 123.8 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.1939, allocations: 7.938 kB / 0.5907 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.194, allocations: 3.984 kB / 0.5907 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.1941, allocations: 3.984 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1944, allocations: 71.81 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.1945, allocations: 15.98 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.1946, allocations: 3.984 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.904e-05/0.1946, allocations: 11.98 kB / 0.5908 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.1947, allocations: 11.94 kB / 0.5908 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1947, allocations: 0 / 0.5908 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1949, allocations: 31.97 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.1949, allocations: 3.984 kB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.195, allocations: 37.64 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1951, allocations: 28.19 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1951, allocations: 4 kB / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1951, allocations: 0 / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1951, allocations: 0 / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004576/0.1956, allocations: 335.3 kB / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.1956, allocations: 8.031 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.1957, allocations: 30.56 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.1957, allocations: 7.953 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.1959, allocations: 163.1 kB / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.196, allocations: 29.7 kB / 0.5915 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.196, allocations: 4 kB / 0.5915 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1961, allocations: 45.69 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1961, allocations: 0 / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1962, allocations: 0 / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.1962, allocations: 0 / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.1962, allocations: 19.92 kB / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.1968, allocations: 334 kB / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.1969, allocations: 18.58 kB / 0.5919 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-05/0.197, allocations: 89.16 kB / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.197, allocations: 34.56 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.197, allocations: 0 / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001513/0.1972, allocations: 41.5 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1972, allocations: 51.41 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1974, allocations: 110 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1974, allocations: 25.7 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.1974, allocations: 88.02 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.1975, allocations: 3.906 kB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.1975, allocations: 4 kB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1977, allocations: 318.8 kB / 0.5926 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.1977, allocations: 0 / 0.5926 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.1977, allocations: 13.72 kB / 0.5926 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.1977, allocations: 12 kB / 0.5926 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1977, allocations: 7.875 kB / 0.5926 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.332e-05/0.1978, allocations: 49.69 kB / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1978, allocations: 4 kB / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1979, allocations: 0 / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1979, allocations: 288 / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.1979, allocations: 7.984 kB / 0.5927 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1979, allocations: 7.953 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.198, allocations: 8 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.198, allocations: 0 / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/0.1981, allocations: 109.8 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1981, allocations: 7.891 kB / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.1982, allocations: 121 kB / 0.5929 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.629e-05/0.1983, allocations: 180.2 kB / 0.5931 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.539e-05/0.1984, allocations: 184.3 kB / 0.5933 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.117e-05/0.1984, allocations: 184.2 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1987, allocations: 409.2 kB / 0.5938 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-05/0.1987, allocations: 101 kB / 0.5939 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.1988, allocations: 108.9 kB / 0.594 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.576e-05/0.1989, allocations: 176.3 kB / 0.5942 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.1989, allocations: 184.3 kB / 0.5944 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.605e-05/0.199, allocations: 184.2 kB / 0.5946 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.761e-05/0.1991, allocations: 176.3 kB / 0.5947 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.1992, allocations: 307.7 kB / 0.595 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.1993, allocations: 190.1 kB / 0.5952 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.1995, allocations: 180.2 kB / 0.5954 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1997, allocations: 109 kB / 0.5955 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.1998, allocations: 180.2 kB / 0.5957 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/0.1999, allocations: 101 kB / 0.5958 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.2, allocations: 95.27 kB / 0.5958 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2, allocations: 4 kB / 0.5959 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002826/0.2003, allocations: 23.88 kB / 0.5959 GB, free: 9.668 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007334/0.201, allocations: 0.8243 MB / 0.5967 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.92e-05/0.2011, allocations: 12.05 kB / 0.5967 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2011, allocations: 0 / 0.5967 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.2011, allocations: 7.938 kB / 0.5967 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.2015, allocations: 0.5224 MB / 0.5972 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.202, allocations: 221.6 kB / 0.5974 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.2023, allocations: 0.677 MB / 0.5981 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.107e-05/0.2023, allocations: 7.984 kB / 0.5981 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.2023, allocations: 11.44 kB / 0.5981 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.2023, allocations: 0 / 0.5981 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.2145, allocations: 1.213 MB / 0.5993 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/0.2148, allocations: 182.4 kB / 0.5995 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.864, allocations: 3.25 kB / 0.5995 GB, free: 5.98 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: