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.0008066/0.0008065, allocations: 99.7 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.0008097/0.0008096, 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.167/1.167, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8175/0.8175, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 9.156 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 82.31 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003532/0.1616, allocations: 3.389 MB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000149/0.1618, allocations: 127.8 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.1618, allocations: 0 / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.26e-05/0.1619, allocations: 0 / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.139e-05/0.162, allocations: 11.92 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.1622, allocations: 59.83 kB / 0.5907 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.419e-05/0.1623, allocations: 27.95 kB / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.1623, allocations: 4 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.1624, allocations: 8 kB / 0.5907 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.1624, allocations: 11.92 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1625, allocations: 0 / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1626, allocations: 31.97 kB / 0.5908 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.1626, allocations: 4 kB / 0.5908 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.1627, allocations: 29.7 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.162e-05/0.1628, allocations: 35.91 kB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1628, allocations: 3.938 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1628, allocations: 4 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.1628, allocations: 0 / 0.5908 GB, free: 15.39 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.0003222/0.1631, allocations: 331.5 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1631, allocations: 12.03 kB / 0.5912 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.1632, allocations: 3.984 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1633, allocations: 167 kB / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/0.1634, allocations: 33.7 kB / 0.5914 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.1634, allocations: 0 / 0.5914 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1635, allocations: 45.67 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1635, allocations: 0 / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1635, allocations: 4 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.1636, allocations: 3.984 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.1636, allocations: 12 kB / 0.5914 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.164, allocations: 338 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.193e-05/0.164, allocations: 14.58 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.438e-05/0.1641, allocations: 93.16 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1641, allocations: 30.56 kB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1642, allocations: 0 / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.1643, allocations: 41.64 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1643, allocations: 55.36 kB / 0.592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.1644, allocations: 105.8 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1644, allocations: 25.7 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.1645, allocations: 92.2 kB / 0.5922 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-06/0.1645, allocations: 11.88 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.1645, allocations: 0 / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1646, allocations: 314.8 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.1646, allocations: 4 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.1646, allocations: 13.72 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.769e-05/0.1646, allocations: 7.984 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1647, allocations: 4 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.355e-05/0.1647, allocations: 45.64 kB / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1647, allocations: 4 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1648, allocations: 3.938 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1648, allocations: 7.984 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-05/0.1648, allocations: 4 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1648, allocations: 7.938 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.1648, allocations: 0 / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1649, allocations: 4 kB / 0.5926 GB, free: 13.32 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 6.945e-05/0.1649, allocations: 116.3 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.165, allocations: 4 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.51e-05/0.1651, allocations: 128.7 kB / 0.5928 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.904e-05/0.1651, allocations: 176.3 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-05/0.1652, allocations: 184.2 kB / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-05/0.1653, allocations: 188.2 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1655, allocations: 409.2 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/0.1655, allocations: 105 kB / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.1655, allocations: 101 kB / 0.5939 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.351e-05/0.1656, allocations: 184.2 kB / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.1656, allocations: 176.3 kB / 0.5943 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-05/0.1657, allocations: 184.2 kB / 0.5945 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.966e-05/0.1658, allocations: 180.3 kB / 0.5946 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.1659, allocations: 311.7 kB / 0.5949 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.166, allocations: 178.1 kB / 0.5951 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.166, allocations: 192.2 kB / 0.5953 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1662, allocations: 105 kB / 0.5954 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.1663, allocations: 180.3 kB / 0.5955 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1663, allocations: 108.9 kB / 0.5957 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.1663, allocations: 87.28 kB / 0.5957 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1664, allocations: 0 / 0.5957 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002168/0.1666, allocations: 20 kB / 0.5958 GB, free: 9.855 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.0001366/0.1667, allocations: 186.5 kB / 0.5959 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.721e-05/0.1668, allocations: 8 kB / 0.5959 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1668, allocations: 0 / 0.5959 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1668, allocations: 3.938 kB / 0.5959 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1671, allocations: 0.5381 MB / 0.5965 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.1673, allocations: 183.8 kB / 0.5966 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.1676, allocations: 0.677 MB / 0.5973 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.1676, allocations: 7.125 kB / 0.5973 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.1676, allocations: 15.44 kB / 0.5973 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1676, allocations: 0 / 0.5973 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.002235/0.1699, allocations: 0.5426 MB / 0.5979 GB, free: 7.645 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: