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.0009096/0.0009098, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009592/0.0009593, allocations: 168.7 kB / 15.95 MB, free: 204 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.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9642/0.9642, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 15.98 kB / 0.507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2075, allocations: 82.3 MB / 0.5874 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004124/0.2117, allocations: 2.884 MB / 0.5902 GB, free: 88 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.2119, allocations: 55.81 kB / 0.5902 GB, free: 32 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.2119, allocations: 0 / 0.5902 GB, free: 32 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.212, allocations: 4 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.2121, allocations: 15.91 kB / 0.5903 GB, free: 12 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.2126, allocations: 139.5 kB / 0.5904 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.2128, allocations: 43.89 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.2128, allocations: 3.984 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.2129, allocations: 19.94 kB / 0.5905 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.755e-05/0.213, allocations: 11.97 kB / 0.5905 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.213, allocations: 4 kB / 0.5905 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.2133, allocations: 91.69 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.2133, allocations: 3.984 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.2133, allocations: 29.7 kB / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.2135, allocations: 60.16 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2135, allocations: 0 / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2135, allocations: 0 / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.2135, allocations: 0 / 0.5906 GB, free: 15.6 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.0004273/0.214, allocations: 351.2 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.214, allocations: 8.031 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.2141, allocations: 7.953 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2142, allocations: 162.9 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.2143, allocations: 29.69 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2143, allocations: 4 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.2144, allocations: 45.62 kB / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2145, allocations: 4 kB / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2145, allocations: 0 / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.2145, allocations: 4 kB / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.2146, allocations: 11.98 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006962/0.2153, allocations: 0.5794 MB / 0.5918 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.446e-05/0.2153, allocations: 18.58 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.2153, allocations: 8.797 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.2156, allocations: 348.5 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2156, allocations: 34.55 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2156, allocations: 0 / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001661/0.2158, allocations: 33.66 kB / 0.5922 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.2158, allocations: 55.41 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.2159, allocations: 101.8 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.216, allocations: 25.83 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.216, allocations: 92.05 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.216, allocations: 7.906 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.216, allocations: 0 / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2161, allocations: 310.8 kB / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.2162, allocations: 11.92 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.2162, allocations: 17.72 kB / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.2162, allocations: 8 kB / 0.5928 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2162, allocations: 0 / 0.5928 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.393e-05/0.2163, allocations: 53.56 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2163, allocations: 4 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.2164, allocations: 0 / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2164, allocations: 7.938 kB / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.2164, allocations: 7.953 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2165, allocations: 0 / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.2165, allocations: 3.938 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2165, allocations: 7.984 kB / 0.5929 GB, free: 12.9 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.619e-05/0.2166, allocations: 109.9 kB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.2166, allocations: 0 / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.2167, allocations: 120.9 kB / 0.5931 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-05/0.2168, allocations: 184.5 kB / 0.5933 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.253e-05/0.2169, allocations: 180.2 kB / 0.5935 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-05/0.2169, allocations: 188.2 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.2172, allocations: 409.2 kB / 0.5941 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.691e-05/0.2172, allocations: 104.9 kB / 0.5942 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.2172, allocations: 101 kB / 0.5943 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.9e-05/0.2173, allocations: 184.3 kB / 0.5944 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/0.2174, allocations: 184.2 kB / 0.5946 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.529e-05/0.2175, allocations: 184.3 kB / 0.5948 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.436e-05/0.2175, allocations: 180.2 kB / 0.595 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.2177, allocations: 307.7 kB / 0.5952 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.2178, allocations: 190 kB / 0.5954 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.2178, allocations: 180.5 kB / 0.5956 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.218, allocations: 112.9 kB / 0.5957 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.2181, allocations: 180.3 kB / 0.5959 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.2181, allocations: 109 kB / 0.596 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.2182, allocations: 83.27 kB / 0.5961 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.713e-06/0.2182, allocations: 0 / 0.5961 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002748/0.2185, allocations: 43.89 kB / 0.5961 GB, free: 9.414 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.0002819/0.2188, allocations: 229.6 kB / 0.5963 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.113e-05/0.2189, allocations: 12 kB / 0.5963 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2189, allocations: 0 / 0.5963 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.2189, allocations: 3.938 kB / 0.5963 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.2194, allocations: 0.5297 MB / 0.5969 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.2197, allocations: 192 kB / 0.597 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.22, allocations: 0.6731 MB / 0.5977 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.22, allocations: 4 kB / 0.5977 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.22, allocations: 15.42 kB / 0.5977 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.22, allocations: 0 / 0.5977 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of Templates: time 0.00362/0.2237, allocations: 1.133 MB / 0.5988 GB, free: 6.617 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)