Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, 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.001402/0.001402, allocations: 200.4 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.325/1.325, 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.8963/0.8963, allocations: 135.1 MB / 425.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.95 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1526, allocations: 80.92 MB / 0.5843 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005892/0.1585, allocations: 4.743 MB / 0.589 GB, free: 236 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.1614, allocations: 2.726 MB / 0.5916 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.1615, allocations: 0 / 0.5916 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1618, allocations: 39.8 kB / 0.5917 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1621, allocations: 83.48 kB / 0.5917 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1634, allocations: 473.1 kB / 0.5922 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.1637, allocations: 307.8 kB / 0.5925 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.1638, allocations: 9.562 kB / 0.5925 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.164, allocations: 111.5 kB / 0.5926 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1641, allocations: 87.67 kB / 0.5927 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.1641, allocations: 12 kB / 0.5927 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.1648, allocations: 375.1 kB / 0.5931 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.1648, allocations: 35.89 kB / 0.5931 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.1649, allocations: 83.64 kB / 0.5932 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.1653, allocations: 239.7 kB / 0.5934 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1653, allocations: 0 / 0.5934 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1653, allocations: 3.938 kB / 0.5934 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1653, allocations: 0 / 0.5934 GB, free: 11.68 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007159/0.166, allocations: 0.5071 MB / 0.5939 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1661, allocations: 8.031 kB / 0.5939 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.1662, allocations: 24.75 kB / 0.5939 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.1664, allocations: 216 kB / 0.5941 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1665, allocations: 16.7 kB / 0.5941 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1665, allocations: 12.38 kB / 0.5942 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.1669, allocations: 244.3 kB / 0.5944 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1669, allocations: 3.938 kB / 0.5944 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1669, allocations: 8 kB / 0.5944 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.1669, allocations: 8 kB / 0.5944 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.1674, allocations: 431.5 kB / 0.5948 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.1684, allocations: 0.9449 MB / 0.5957 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.1687, allocations: 158.3 kB / 0.5959 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.668e-05/0.1688, allocations: 60.88 kB / 0.596 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.17, allocations: 1.829 MB / 0.5977 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1701, allocations: 42.55 kB / 0.5978 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.1701, allocations: 0 / 0.5978 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000326/0.1704, allocations: 139.8 kB / 0.5979 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.1705, allocations: 63.28 kB / 0.598 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1706, allocations: 170.6 kB / 0.5981 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1706, allocations: 33.7 kB / 0.5982 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.1707, allocations: 139.8 kB / 0.5983 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.1708, allocations: 55.19 kB / 0.5984 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.1709, allocations: 53.61 kB / 0.5984 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.171, allocations: 326.8 kB / 0.5987 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.1711, allocations: 31.98 kB / 0.5988 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1712, allocations: 139.2 kB / 0.5989 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.1715, allocations: 203 kB / 0.5991 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1715, allocations: 3.938 kB / 0.5991 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000323/0.1718, allocations: 213.2 kB / 0.5993 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1718, allocations: 6.5 kB / 0.5993 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1718, allocations: 7.984 kB / 0.5993 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1719, allocations: 8 kB / 0.5993 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.1721, allocations: 59.8 kB / 0.5994 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1721, allocations: 7.938 kB / 0.5994 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.1722, allocations: 32.16 kB / 0.5994 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1722, allocations: 15.98 kB / 0.5994 GB, free: 4.793 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001166/0.1723, allocations: 130.4 kB / 0.5995 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.1724, allocations: 19.81 kB / 0.5996 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.1727, allocations: 149.8 kB / 0.5997 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.1727, allocations: 7.938 kB / 0.5997 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1727, allocations: 0 / 0.5997 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1727, allocations: 3.984 kB / 0.5997 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.173, allocations: 221.5 kB / 0.5999 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.173, allocations: 0 / 0.5999 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.1731, allocations: 27.92 kB / 0.6 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1731, allocations: 3.984 kB / 0.6 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1731, allocations: 4 kB / 0.6 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.1731, allocations: 7.938 kB / 0.6 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1731, allocations: 0 / 0.6 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1734, allocations: 219.3 kB / 0.6002 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.381e-05/0.1735, allocations: 105 kB / 0.6003 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.1735, allocations: 4 kB / 0.6003 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1737, allocations: 31.75 kB / 0.6003 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.1738, allocations: 11.98 kB / 0.6003 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1738, allocations: 15.98 kB / 0.6003 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.475e-05/0.1739, allocations: 120.7 kB / 0.6005 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1739, allocations: 0 / 0.6005 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003872/0.1743, allocations: 71.94 kB / 0.6005 GB, free: 3.562 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003497/0.1746, allocations: 175.1 kB / 0.6007 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1749, allocations: 124.5 kB / 0.6008 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1749, allocations: 8.062 kB / 0.6008 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.175, allocations: 50.3 kB / 0.6009 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1754, allocations: 43.97 kB / 0.6009 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/0.1762, allocations: 422.1 kB / 0.6013 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1764, allocations: 0.7092 MB / 0.602 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.1765, allocations: 31.42 kB / 0.602 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1765, allocations: 0 / 0.602 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.2513/0.4278, allocations: 3.133 MB / 0.6051 GB, free: 52.42 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)