Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.000857/0.0008572, allocations: 99 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.0008152/0.0008152, allocations: 177.3 kB / 15.95 MB, free: 216 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.231/1.231, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8379/0.8379, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002947, allocations: 9.125 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003011/0.1432, allocations: 2.456 MB / 0.5896 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003478/0.1436, allocations: 343.2 kB / 0.5899 GB, free: 324 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.1436, allocations: 0 / 0.5899 GB, free: 324 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.526e-05/0.1437, allocations: 0 / 0.5899 GB, free: 324 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.1437, allocations: 11.97 kB / 0.5899 GB, free: 312 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.1442, allocations: 147 kB / 0.5901 GB, free: 168 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.1443, allocations: 15.97 kB / 0.5901 GB, free: 152 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.1443, allocations: 4 kB / 0.5901 GB, free: 148 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.1444, allocations: 15.97 kB / 0.5901 GB, free: 132 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.1444, allocations: 7.938 kB / 0.5901 GB, free: 124 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1444, allocations: 4 kB / 0.5901 GB, free: 120 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.1447, allocations: 99.8 kB / 0.5902 GB, free: 20 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.1448, allocations: 8 kB / 0.5902 GB, free: 12 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.1448, allocations: 29.7 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.145, allocations: 64.16 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.145, allocations: 0 / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.145, allocations: 0 / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.145, allocations: 0 / 0.5903 GB, free: 15.91 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.0003599/0.1453, allocations: 349.4 kB / 0.5906 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.1454, allocations: 8.031 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.1454, allocations: 4 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1455, allocations: 163 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.1456, allocations: 33.69 kB / 0.5908 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.1456, allocations: 4 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.1457, allocations: 41.67 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.1457, allocations: 0 / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1458, allocations: 4 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.1458, allocations: 4 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.1458, allocations: 15.97 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.1464, allocations: 0.5755 MB / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.1465, allocations: 22.56 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.1467, allocations: 332.5 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.1467, allocations: 34.56 kB / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1467, allocations: 0 / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.1469, allocations: 41.62 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.1469, allocations: 59.42 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.147, allocations: 105.8 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.147, allocations: 29.64 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.147, allocations: 88.05 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-06/0.1471, allocations: 3.906 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.1471, allocations: 4 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.1472, allocations: 310.8 kB / 0.5925 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.1472, allocations: 4 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.1472, allocations: 21.7 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.021e-05/0.1472, allocations: 8 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1472, allocations: 0 / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.601e-05/0.1473, allocations: 49.62 kB / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1473, allocations: 4 kB / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1474, allocations: 4 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1474, allocations: 0 / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.1474, allocations: 4 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1474, allocations: 8 kB / 0.5926 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.1475, allocations: 11.94 kB / 0.5926 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1475, allocations: 0 / 0.5926 GB, free: 13.23 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.427e-05/0.1476, allocations: 109.8 kB / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.1476, allocations: 4 kB / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.1477, allocations: 120.9 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/0.1478, allocations: 176.3 kB / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.017e-05/0.1478, allocations: 188.2 kB / 0.5931 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.797e-05/0.1479, allocations: 180.2 kB / 0.5933 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.1481, allocations: 413.1 kB / 0.5937 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.1481, allocations: 105 kB / 0.5938 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.1482, allocations: 105 kB / 0.5939 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-05/0.1482, allocations: 184.2 kB / 0.5941 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.1483, allocations: 176.3 kB / 0.5942 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.504e-05/0.1483, allocations: 188.2 kB / 0.5944 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.698e-05/0.1484, allocations: 180.3 kB / 0.5946 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.1485, allocations: 307.7 kB / 0.5949 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.1486, allocations: 186.1 kB / 0.5951 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.1487, allocations: 180.2 kB / 0.5952 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1488, allocations: 109 kB / 0.5953 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.1489, allocations: 184.2 kB / 0.5955 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.149, allocations: 104.9 kB / 0.5956 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.149, allocations: 87.28 kB / 0.5957 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.149, allocations: 0 / 0.5957 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002557/0.1493, allocations: 35.98 kB / 0.5957 GB, free: 9.758 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.000217/0.1495, allocations: 222.9 kB / 0.596 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.765e-05/0.1496, allocations: 12 kB / 0.596 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1496, allocations: 3.938 kB / 0.596 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.1496, allocations: 3.938 kB / 0.596 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1499, allocations: 0.5303 MB / 0.5965 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.1501, allocations: 179.9 kB / 0.5967 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1504, allocations: 0.677 MB / 0.5973 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.1504, allocations: 11.64 kB / 0.5973 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.1504, allocations: 11.44 kB / 0.5973 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1504, allocations: 4 kB / 0.5973 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of Templates: time 0.003019/0.1534, allocations: 1.116 MB / 0.5984 GB, free: 6.973 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: