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.001314/0.001314, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001547, allocations: 199.9 kB / 16.79 MB, free: 6.828 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9422/0.9422, allocations: 135.1 MB / 425.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 0.5053 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1683, allocations: 80.93 MB / 0.5843 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005141/0.1735, allocations: 4.06 MB / 0.5883 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001914/0.1737, allocations: 159.5 kB / 0.5885 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.1738, allocations: 0 / 0.5885 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.783e-05/0.1739, allocations: 7.938 kB / 0.5885 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.174, allocations: 11.91 kB / 0.5885 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.1743, allocations: 71.83 kB / 0.5885 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.1743, allocations: 55.83 kB / 0.5886 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.1744, allocations: 11.97 kB / 0.5886 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.1744, allocations: 11.94 kB / 0.5886 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.1745, allocations: 15.98 kB / 0.5886 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1745, allocations: 0 / 0.5886 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.1747, allocations: 75.78 kB / 0.5887 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.1748, allocations: 3.984 kB / 0.5887 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.1748, allocations: 15.88 kB / 0.5887 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.1749, allocations: 35.95 kB / 0.5888 GB, free: 480 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1749, allocations: 0 / 0.5888 GB, free: 480 kB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1749, allocations: 0 / 0.5888 GB, free: 480 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1749, allocations: 0 / 0.5888 GB, free: 480 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.0003832/0.1753, allocations: 343.7 kB / 0.5891 GB, free: 88 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1754, allocations: 8.031 kB / 0.5891 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1754, allocations: 0.9375 kB / 0.5891 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1755, allocations: 164.4 kB / 0.5893 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.1756, allocations: 34.25 kB / 0.5893 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1756, allocations: 384 / 0.5893 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1758, allocations: 49.62 kB / 0.5893 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.1758, allocations: 0 / 0.5893 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1758, allocations: 0 / 0.5893 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1758, allocations: 0 / 0.5893 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.1758, allocations: 19.92 kB / 0.5893 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.1763, allocations: 334 kB / 0.5897 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.6e-05/0.1763, allocations: 26.58 kB / 0.5897 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.1763, allocations: 8.859 kB / 0.5897 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.993e-05/0.1764, allocations: 89.16 kB / 0.5898 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1765, allocations: 30.56 kB / 0.5898 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1765, allocations: 0 / 0.5898 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.1766, allocations: 37.55 kB / 0.5899 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.1766, allocations: 63.47 kB / 0.5899 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.1767, allocations: 101.8 kB / 0.59 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1768, allocations: 25.7 kB / 0.59 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.1768, allocations: 88.08 kB / 0.5901 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-06/0.1768, allocations: 3.906 kB / 0.5901 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.1769, allocations: 21.7 kB / 0.5901 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.177, allocations: 314.8 kB / 0.5904 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.177, allocations: 4 kB / 0.5904 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.177, allocations: 21.72 kB / 0.5905 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.1771, allocations: 21.64 kB / 0.5905 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1771, allocations: 0 / 0.5905 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.131e-05/0.1771, allocations: 45.69 kB / 0.5905 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1772, allocations: 11.94 kB / 0.5905 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1772, allocations: 0 / 0.5905 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1772, allocations: 4.062 kB / 0.5905 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.956e-05/0.1772, allocations: 4 kB / 0.5906 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1772, allocations: 7.984 kB / 0.5906 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.1773, allocations: 0 / 0.5906 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1773, allocations: 4 kB / 0.5906 GB, free: 14.34 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 6.507e-05/0.1773, allocations: 113.8 kB / 0.5907 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.1774, allocations: 3.906 kB / 0.5907 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1775, allocations: 117.2 kB / 0.5908 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-05/0.1776, allocations: 188.2 kB / 0.591 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-05/0.1776, allocations: 176.3 kB / 0.5911 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.979e-05/0.1777, allocations: 192.2 kB / 0.5913 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.1779, allocations: 405.2 kB / 0.5917 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.324e-05/0.178, allocations: 108.9 kB / 0.5918 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.178, allocations: 105 kB / 0.5919 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.34e-05/0.1781, allocations: 176.3 kB / 0.5921 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.1782, allocations: 184.2 kB / 0.5923 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.251e-05/0.1782, allocations: 184.2 kB / 0.5924 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-05/0.1783, allocations: 184.2 kB / 0.5926 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1784, allocations: 307.8 kB / 0.5929 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.1785, allocations: 186 kB / 0.5931 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.1786, allocations: 184.2 kB / 0.5932 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.1788, allocations: 108.9 kB / 0.5934 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.1788, allocations: 184.5 kB / 0.5935 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.1789, allocations: 109 kB / 0.5936 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.1789, allocations: 83.28 kB / 0.5937 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1789, allocations: 0 / 0.5937 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002488/0.1792, allocations: 12 kB / 0.5937 GB, free: 10.88 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.0002788/0.1795, allocations: 210.3 kB / 0.5939 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.405e-05/0.1795, allocations: 12.03 kB / 0.5939 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1796, allocations: 0 / 0.5939 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.1796, allocations: 4 kB / 0.5939 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.18, allocations: 0.5263 MB / 0.5945 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.1803, allocations: 201.5 kB / 0.5946 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.1805, allocations: 0.6731 MB / 0.5953 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.1805, allocations: 15.44 kB / 0.5953 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1805, allocations: 0 / 0.5953 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.001995/0.1825, allocations: 0.7419 MB / 0.596 GB, free: 8.438 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)