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: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001313/0.001313, allocations: 197.2 kB / 16.14 MB, free: 6.66 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.989/0.989, allocations: 135.1 MB / 425.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 60.97 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2054, allocations: 80.93 MB / 0.5837 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005704/0.2112, allocations: 4.049 MB / 0.5877 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002149/0.2114, allocations: 163.4 kB / 0.5878 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.2115, allocations: 0 / 0.5878 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.2116, allocations: 4 kB / 0.5878 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.2117, allocations: 15.91 kB / 0.5878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.212, allocations: 78.77 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.7e-05/0.2121, allocations: 55.88 kB / 0.588 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.2122, allocations: 11.97 kB / 0.588 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.2122, allocations: 11.94 kB / 0.588 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.2123, allocations: 23.91 kB / 0.588 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2123, allocations: 0 / 0.588 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.2125, allocations: 71.8 kB / 0.5881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.2126, allocations: 7.984 kB / 0.5881 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.2127, allocations: 11.92 kB / 0.5881 GB, free: 500 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.2128, allocations: 43.97 kB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2128, allocations: 0 / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2128, allocations: 0 / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2128, allocations: 0 / 0.5881 GB, free: 456 kB / 494.1 MB 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.000427/0.2133, allocations: 347.7 kB / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2133, allocations: 8.031 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.2134, allocations: 4.938 kB / 0.5885 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2135, allocations: 164.3 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.2136, allocations: 30.25 kB / 0.5887 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.2136, allocations: 8.312 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2138, allocations: 45.62 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2138, allocations: 0 / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2138, allocations: 0 / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.2138, allocations: 8 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.683e-05/0.2139, allocations: 11.98 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.2144, allocations: 338 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.532e-05/0.2144, allocations: 14.58 kB / 0.5891 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.2144, allocations: 12.92 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.571e-05/0.2145, allocations: 81.11 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.2146, allocations: 46.55 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2146, allocations: 0 / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000149/0.2147, allocations: 41.55 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2148, allocations: 51.41 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.2148, allocations: 101.8 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2149, allocations: 29.7 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.2149, allocations: 87.98 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.2149, allocations: 4.125 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.215, allocations: 17.72 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2151, allocations: 318.8 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.2151, allocations: 7.938 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.2152, allocations: 17.72 kB / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.53e-05/0.2152, allocations: 25.64 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2152, allocations: 8 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.565e-05/0.2153, allocations: 37.7 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2153, allocations: 4 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2153, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2153, allocations: 3.984 kB / 0.5899 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.444e-05/0.2154, allocations: 8 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2154, allocations: 3.938 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.2154, allocations: 4 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.2154, allocations: 4 kB / 0.5899 GB, free: 14.31 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.117e-05/0.2155, allocations: 113.8 kB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.2155, allocations: 3.906 kB / 0.5901 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.2157, allocations: 117 kB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001063/0.2158, allocations: 188.2 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-05/0.2159, allocations: 180.2 kB / 0.5905 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001168/0.216, allocations: 180.3 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.2162, allocations: 413.1 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-05/0.2162, allocations: 105 kB / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.2163, allocations: 104.9 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.632e-05/0.2163, allocations: 176.5 kB / 0.5915 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.2164, allocations: 184.2 kB / 0.5916 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-05/0.2165, allocations: 180.3 kB / 0.5918 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.644e-05/0.2166, allocations: 180.3 kB / 0.592 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.2167, allocations: 311.7 kB / 0.5923 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.2168, allocations: 186 kB / 0.5924 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.2169, allocations: 188.3 kB / 0.5926 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.217, allocations: 109 kB / 0.5927 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.2171, allocations: 180.5 kB / 0.5929 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.2171, allocations: 101 kB / 0.593 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.75e-05/0.2172, allocations: 95.27 kB / 0.5931 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2172, allocations: 0 / 0.5931 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002604/0.2175, allocations: 12 kB / 0.5931 GB, free: 10.85 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.000281/0.2178, allocations: 206.4 kB / 0.5933 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.036e-05/0.2179, allocations: 7.969 kB / 0.5933 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2179, allocations: 0 / 0.5933 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/0.2179, allocations: 11.94 kB / 0.5933 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.2184, allocations: 0.5264 MB / 0.5938 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.2187, allocations: 183.6 kB / 0.594 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.2189, allocations: 0.677 MB / 0.5947 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.219, allocations: 8 kB / 0.5947 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.219, allocations: 7.438 kB / 0.5947 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.219, allocations: 0 / 0.5947 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of Templates: time 0.002894/0.2219, allocations: 0.6062 MB / 0.5953 GB, free: 8.566 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)