Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00565/0.005651, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9618/0.9618, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.000471, allocations: 8 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1996, allocations: 82.32 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003833/0.2035, allocations: 2.981 MB / 0.5909 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001/0.2037, allocations: 51.86 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.2037, allocations: 0 / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2038, allocations: 3.938 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.2039, allocations: 15.91 kB / 0.591 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.2044, allocations: 167.4 kB / 0.5911 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.2045, allocations: 55.88 kB / 0.5912 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.2045, allocations: 3.984 kB / 0.5912 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.2046, allocations: 15.94 kB / 0.5912 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.2047, allocations: 23.91 kB / 0.5912 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.2047, allocations: 4 kB / 0.5912 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.205, allocations: 167.6 kB / 0.5914 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.2051, allocations: 3.984 kB / 0.5914 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.2051, allocations: 37.62 kB / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.2054, allocations: 143.9 kB / 0.5916 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2054, allocations: 0 / 0.5916 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2054, allocations: 0 / 0.5916 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.2054, allocations: 0 / 0.5916 GB, free: 14.92 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.0004134/0.2059, allocations: 339.5 kB / 0.5919 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2059, allocations: 12.03 kB / 0.5919 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.2059, allocations: 4.938 kB / 0.5919 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2061, allocations: 164.4 kB / 0.5921 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.2061, allocations: 34.27 kB / 0.5921 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.2062, allocations: 4.312 kB / 0.5921 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.2063, allocations: 45.62 kB / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2063, allocations: 0 / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2064, allocations: 4 kB / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.2064, allocations: 0 / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.2064, allocations: 15.98 kB / 0.5922 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.2071, allocations: 0.5872 MB / 0.5927 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.894e-05/0.2072, allocations: 22.52 kB / 0.5927 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.2072, allocations: 8.922 kB / 0.5928 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.2074, allocations: 344.4 kB / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2074, allocations: 30.56 kB / 0.5931 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.855e-06/0.2075, allocations: 0 / 0.5931 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001642/0.2076, allocations: 45.62 kB / 0.5932 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.2077, allocations: 51.41 kB / 0.5932 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.2078, allocations: 109.8 kB / 0.5933 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2078, allocations: 25.7 kB / 0.5933 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.2079, allocations: 88.17 kB / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.026e-06/0.2079, allocations: 3.906 kB / 0.5934 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.2079, allocations: 9.719 kB / 0.5934 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.208, allocations: 330.7 kB / 0.5937 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.208, allocations: 0 / 0.5937 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.2081, allocations: 13.72 kB / 0.5938 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.807e-05/0.2081, allocations: 29.7 kB / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2081, allocations: 0 / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.707e-05/0.2082, allocations: 45.64 kB / 0.5938 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2082, allocations: 4 kB / 0.5938 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2082, allocations: 4 kB / 0.5938 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2083, allocations: 0 / 0.5938 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/0.2083, allocations: 7.984 kB / 0.5938 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2083, allocations: 0 / 0.5938 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.2084, allocations: 7.938 kB / 0.5939 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2084, allocations: 0 / 0.5939 GB, free: 12.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.2085, allocations: 113.8 kB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.2085, allocations: 7.938 kB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.2086, allocations: 125 kB / 0.5941 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.169e-05/0.2087, allocations: 176.3 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-05/0.2087, allocations: 180.2 kB / 0.5944 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-05/0.2088, allocations: 180.3 kB / 0.5946 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.209, allocations: 417 kB / 0.595 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/0.2091, allocations: 101 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.2091, allocations: 109 kB / 0.5952 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.388e-05/0.2092, allocations: 180.2 kB / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/0.2093, allocations: 180.3 kB / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.457e-05/0.2094, allocations: 184.4 kB / 0.5957 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.252e-05/0.2094, allocations: 180.3 kB / 0.5959 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.2096, allocations: 315.7 kB / 0.5962 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.2097, allocations: 178.1 kB / 0.5964 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.2098, allocations: 192.2 kB / 0.5965 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2099, allocations: 108.9 kB / 0.5967 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.21, allocations: 184.2 kB / 0.5968 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.2101, allocations: 113 kB / 0.5969 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.2101, allocations: 79.28 kB / 0.597 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2101, allocations: 0 / 0.597 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000287/0.2104, allocations: 36 kB / 0.597 GB, free: 8.688 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 (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.0002892/0.2107, allocations: 237.7 kB / 0.5973 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.131e-05/0.2108, allocations: 11.94 kB / 0.5973 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2108, allocations: 0 / 0.5973 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.2108, allocations: 0 / 0.5973 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.2113, allocations: 0.5224 MB / 0.5978 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.2116, allocations: 192 kB / 0.598 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.2119, allocations: 0.6809 MB / 0.5986 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.2119, allocations: 4 kB / 0.5986 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.212, allocations: 7.438 kB / 0.5987 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.212, allocations: 0 / 0.5987 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of Templates: time 0.003649/0.2156, allocations: 1.179 MB / 0.5998 GB, free: 5.84 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)