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: "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004808/0.004808, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001234/0.001235, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8642/0.8642, allocations: 135.6 MB / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 65.23 kB / 0.5858 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1549, allocations: 81.04 MB / 0.6649 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006247/0.1612, allocations: 4.704 MB / 0.6695 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003197/0.1644, allocations: 2.702 MB / 0.6721 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.1645, allocations: 0 / 0.6721 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1648, allocations: 43.69 kB / 0.6722 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1651, allocations: 103.3 kB / 0.6723 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1664, allocations: 0.4999 MB / 0.6728 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.1667, allocations: 231.9 kB / 0.673 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.1667, allocations: 13.56 kB / 0.673 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.1669, allocations: 119.6 kB / 0.6731 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1671, allocations: 87.61 kB / 0.6732 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1671, allocations: 11.94 kB / 0.6732 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006946/0.1678, allocations: 367.3 kB / 0.6736 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.1679, allocations: 39.89 kB / 0.6736 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.716e-05/0.168, allocations: 79.59 kB / 0.6737 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.1686, allocations: 367.1 kB / 0.674 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1686, allocations: 0 / 0.674 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1686, allocations: 4 kB / 0.674 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1687, allocations: 0 / 0.674 GB, free: 12.2 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.0007367/0.1694, allocations: 0.5025 MB / 0.6745 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1694, allocations: 13.11 kB / 0.6745 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.1695, allocations: 50.73 kB / 0.6746 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.1697, allocations: 20.84 kB / 0.6746 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.17, allocations: 216.1 kB / 0.6748 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.17, allocations: 12.69 kB / 0.6748 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.17, allocations: 20.38 kB / 0.6748 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.1704, allocations: 244 kB / 0.6751 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1704, allocations: 3.984 kB / 0.6751 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.1705, allocations: 8 kB / 0.6751 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.1705, allocations: 12 kB / 0.6751 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.171, allocations: 423.5 kB / 0.6755 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1722, allocations: 0.9526 MB / 0.6764 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1725, allocations: 170.8 kB / 0.6766 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1726, allocations: 64.81 kB / 0.6767 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/0.1741, allocations: 1.821 MB / 0.6784 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1741, allocations: 38.56 kB / 0.6785 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 4.147e-06/0.1741, allocations: 4 kB / 0.6785 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003602/0.1745, allocations: 155.6 kB / 0.6786 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1746, allocations: 55.41 kB / 0.6787 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1748, allocations: 168.2 kB / 0.6788 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.1748, allocations: 29.7 kB / 0.6789 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.1749, allocations: 144 kB / 0.679 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.175, allocations: 55.58 kB / 0.6791 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.1751, allocations: 57.66 kB / 0.6791 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1752, allocations: 326.8 kB / 0.6794 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.1753, allocations: 35.97 kB / 0.6795 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1755, allocations: 142.2 kB / 0.6796 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.1758, allocations: 205.5 kB / 0.6798 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1758, allocations: 0 / 0.6798 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003278/0.1761, allocations: 211.9 kB / 0.68 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1761, allocations: 6.5 kB / 0.68 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1762, allocations: 8 kB / 0.68 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.1762, allocations: 19.88 kB / 0.68 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1764, allocations: 55.91 kB / 0.6801 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1764, allocations: 7.938 kB / 0.6801 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1765, allocations: 27.78 kB / 0.6801 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1765, allocations: 12 kB / 0.6801 GB, free: 5.227 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.0001141/0.1766, allocations: 129.7 kB / 0.6802 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.1767, allocations: 15.91 kB / 0.6803 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.177, allocations: 163 kB / 0.6804 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.177, allocations: 3.938 kB / 0.6804 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.177, allocations: 0 / 0.6804 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.177, allocations: 0 / 0.6804 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.1773, allocations: 221.5 kB / 0.6806 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1773, allocations: 0 / 0.6806 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.1774, allocations: 19.98 kB / 0.6806 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1774, allocations: 4 kB / 0.6807 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1774, allocations: 7.984 kB / 0.6807 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1774, allocations: 3.938 kB / 0.6807 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1774, allocations: 0 / 0.6807 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1777, allocations: 223.3 kB / 0.6809 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1778, allocations: 112.9 kB / 0.681 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1779, allocations: 4 kB / 0.681 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.1781, allocations: 19.86 kB / 0.681 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.1781, allocations: 12 kB / 0.681 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.1781, allocations: 11.98 kB / 0.681 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.1782, allocations: 116 kB / 0.6811 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1782, allocations: 4 kB / 0.6811 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004091/0.1786, allocations: 83.86 kB / 0.6812 GB, free: 4 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.000856/0.1795, allocations: 0.828 MB / 0.682 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1798, allocations: 119.8 kB / 0.6821 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1798, allocations: 0 / 0.6821 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.1799, allocations: 47.86 kB / 0.6822 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.1803, allocations: 56.83 kB / 0.6822 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.1828, allocations: 2.042 MB / 0.6842 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.1833, allocations: 0.709 MB / 0.6849 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.1834, allocations: 49.89 kB / 0.685 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.1835, allocations: 43.42 kB / 0.685 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1835, allocations: 3.938 kB / 0.685 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.2127, allocations: 5.235 MB / 0.6901 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.373, allocations: 7.875 kB / 0.6901 GB, free: 10.74 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)