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.001375/0.001375, allocations: 108.5 kB / 16.41 MB, free: 6.5 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.001281/0.001281, allocations: 183 kB / 17.34 MB, free: 5.758 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8586/0.8586, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.06 kB / 0.5864 GB, free: 21.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1536, allocations: 80.93 MB / 0.6654 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006529/0.1602, allocations: 4.727 MB / 0.67 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.1633, allocations: 2.706 MB / 0.6727 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1634, allocations: 4 kB / 0.6727 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.1637, allocations: 47.67 kB / 0.6727 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.164, allocations: 107.3 kB / 0.6728 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1653, allocations: 0.5131 MB / 0.6733 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.1656, allocations: 224 kB / 0.6735 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.1657, allocations: 5.562 kB / 0.6735 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.1659, allocations: 123.5 kB / 0.6737 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.166, allocations: 87.66 kB / 0.6737 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.1661, allocations: 8 kB / 0.6737 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007016/0.1668, allocations: 367.3 kB / 0.6741 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.1668, allocations: 43.88 kB / 0.6741 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.288e-05/0.1669, allocations: 79.59 kB / 0.6742 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.1675, allocations: 358.8 kB / 0.6746 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1675, allocations: 4 kB / 0.6746 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1675, allocations: 0 / 0.6746 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.1675, allocations: 3.938 kB / 0.6746 GB, free: 12.28 MB / 0.5137 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.000824/0.1683, allocations: 0.5064 MB / 0.6751 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1684, allocations: 13.11 kB / 0.6751 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.1686, allocations: 20.84 kB / 0.6751 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1689, allocations: 212.1 kB / 0.6753 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1689, allocations: 16.7 kB / 0.6753 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1689, allocations: 16.38 kB / 0.6753 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.1694, allocations: 244.2 kB / 0.6756 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1694, allocations: 0 / 0.6756 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.1694, allocations: 15.98 kB / 0.6756 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.1694, allocations: 7.984 kB / 0.6756 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.17, allocations: 431.4 kB / 0.676 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1712, allocations: 0.9527 MB / 0.6769 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.1715, allocations: 142.8 kB / 0.6771 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1716, allocations: 56.83 kB / 0.6771 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.1731, allocations: 1.829 MB / 0.6789 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.1732, allocations: 38.56 kB / 0.6789 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.1732, allocations: 3.938 kB / 0.6789 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003645/0.1735, allocations: 147.8 kB / 0.6791 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1736, allocations: 63.34 kB / 0.6791 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.1737, allocations: 168.2 kB / 0.6793 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1738, allocations: 37.69 kB / 0.6793 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1739, allocations: 144 kB / 0.6795 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.1739, allocations: 47.59 kB / 0.6795 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.174, allocations: 61.59 kB / 0.6796 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1741, allocations: 326.8 kB / 0.6799 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.1742, allocations: 31.97 kB / 0.6799 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.1744, allocations: 149.6 kB / 0.6801 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.1746, allocations: 193.5 kB / 0.6802 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1746, allocations: 0 / 0.6802 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003442/0.175, allocations: 223.7 kB / 0.6805 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.175, allocations: 4 kB / 0.6805 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.175, allocations: 4 kB / 0.6805 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.175, allocations: 8 kB / 0.6805 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1752, allocations: 56.33 kB / 0.6805 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1752, allocations: 11.98 kB / 0.6805 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1753, allocations: 27.78 kB / 0.6806 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1753, allocations: 16 kB / 0.6806 GB, free: 5.379 MB / 0.5137 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.0001287/0.1755, allocations: 137.7 kB / 0.6807 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.1755, allocations: 15.91 kB / 0.6807 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.1758, allocations: 155 kB / 0.6809 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.1759, allocations: 7.922 kB / 0.6809 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1759, allocations: 0 / 0.6809 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1759, allocations: 8 kB / 0.6809 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.1761, allocations: 213.6 kB / 0.6811 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1761, allocations: 3.984 kB / 0.6811 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.604e-05/0.1762, allocations: 20 kB / 0.6811 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1762, allocations: 0 / 0.6811 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1762, allocations: 7.984 kB / 0.6811 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1762, allocations: 3.938 kB / 0.6811 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.1763, allocations: 4 kB / 0.6811 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1765, allocations: 226 kB / 0.6814 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1766, allocations: 108.9 kB / 0.6815 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1767, allocations: 7.922 kB / 0.6815 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1769, allocations: 15.94 kB / 0.6815 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.1769, allocations: 11.98 kB / 0.6815 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.1769, allocations: 15.92 kB / 0.6815 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.177, allocations: 120 kB / 0.6816 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.177, allocations: 0 / 0.6816 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004058/0.1774, allocations: 75.88 kB / 0.6817 GB, free: 4.152 MB / 0.5137 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.0003287/0.1778, allocations: 175 kB / 0.6819 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.178, allocations: 116.6 kB / 0.682 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.178, allocations: 4.125 kB / 0.682 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.1781, allocations: 39.92 kB / 0.682 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.1785, allocations: 51.95 kB / 0.6821 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.1793, allocations: 376.1 kB / 0.6824 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1796, allocations: 0.709 MB / 0.6831 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.1797, allocations: 35.42 kB / 0.6831 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1797, allocations: 0 / 0.6831 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.005925/0.1856, allocations: 3.187 MB / 0.6863 GB, free: 15.42 MB / 0.5294 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)