Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_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.004118/0.004118, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001037/0.001037, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7479/0.7479, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.73 kB / 0.5809 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1586, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006698/0.1654, allocations: 4.723 MB / 0.6638 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.1683, allocations: 2.698 MB / 0.6665 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1685, allocations: 0 / 0.6665 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1688, allocations: 51.67 kB / 0.6665 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.1692, allocations: 103.3 kB / 0.6666 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1706, allocations: 0.5056 MB / 0.6671 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.171, allocations: 235.9 kB / 0.6673 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.171, allocations: 10.97 kB / 0.6674 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.1713, allocations: 119.6 kB / 0.6675 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1715, allocations: 95.58 kB / 0.6676 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.1715, allocations: 8 kB / 0.6676 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/0.1724, allocations: 359.3 kB / 0.6679 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1725, allocations: 39.89 kB / 0.6679 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1726, allocations: 83.58 kB / 0.668 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.1733, allocations: 363.1 kB / 0.6684 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1733, allocations: 0 / 0.6684 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1733, allocations: 4 kB / 0.6684 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.1733, allocations: 0 / 0.6684 GB, free: 4.582 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.0007583/0.1741, allocations: 0.5064 MB / 0.6689 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1741, allocations: 12.03 kB / 0.6689 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.1742, allocations: 50.73 kB / 0.6689 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.1743, allocations: 24.84 kB / 0.669 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1746, allocations: 212.1 kB / 0.6692 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1747, allocations: 12.7 kB / 0.6692 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.1747, allocations: 16.38 kB / 0.6692 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1751, allocations: 252.6 kB / 0.6694 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1751, allocations: 0 / 0.6694 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.1751, allocations: 8 kB / 0.6694 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.1752, allocations: 11.98 kB / 0.6694 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.1756, allocations: 423.5 kB / 0.6698 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.1767, allocations: 0.9566 MB / 0.6708 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.1769, allocations: 163.6 kB / 0.6709 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.99e-05/0.177, allocations: 65.75 kB / 0.671 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.1784, allocations: 1.821 MB / 0.6728 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1784, allocations: 38.56 kB / 0.6728 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.1784, allocations: 0 / 0.6728 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003488/0.1788, allocations: 148.6 kB / 0.673 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1788, allocations: 67.27 kB / 0.673 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.179, allocations: 169.6 kB / 0.6732 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.179, allocations: 33.7 kB / 0.6732 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.743e-05/0.1791, allocations: 144 kB / 0.6734 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.1791, allocations: 51.58 kB / 0.6734 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.1792, allocations: 53.66 kB / 0.6735 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1793, allocations: 326.8 kB / 0.6738 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.1794, allocations: 31.97 kB / 0.6738 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1795, allocations: 142.9 kB / 0.6739 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.1797, allocations: 201.5 kB / 0.6741 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1797, allocations: 0 / 0.6741 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003003/0.1801, allocations: 217.2 kB / 0.6743 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1801, allocations: 8 kB / 0.6743 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1801, allocations: 0 / 0.6743 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1801, allocations: 11.94 kB / 0.6743 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1803, allocations: 55.92 kB / 0.6744 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1803, allocations: 12.39 kB / 0.6744 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1804, allocations: 31.78 kB / 0.6744 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1804, allocations: 12 kB / 0.6745 GB, free: 13.61 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 9.9e-05/0.1805, allocations: 133.7 kB / 0.6746 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.1806, allocations: 15.91 kB / 0.6746 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.1809, allocations: 158 kB / 0.6747 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.1809, allocations: 3.938 kB / 0.6748 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.1809, allocations: 7.984 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1809, allocations: 0 / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.1811, allocations: 217.6 kB / 0.675 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1812, allocations: 0 / 0.675 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.1813, allocations: 23.98 kB / 0.675 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1813, allocations: 0 / 0.675 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1813, allocations: 4 kB / 0.675 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1813, allocations: 7.938 kB / 0.675 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1813, allocations: 3.984 kB / 0.675 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1815, allocations: 223.2 kB / 0.6752 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.1816, allocations: 112.9 kB / 0.6753 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.1817, allocations: 4 kB / 0.6753 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.1819, allocations: 15.92 kB / 0.6753 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.1819, allocations: 15.92 kB / 0.6754 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.1819, allocations: 11.98 kB / 0.6754 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.784e-05/0.182, allocations: 121.6 kB / 0.6755 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.182, allocations: 0 / 0.6755 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003806/0.1824, allocations: 75.88 kB / 0.6756 GB, free: 12.39 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.0006818/0.1831, allocations: 0.8293 MB / 0.6764 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.1833, allocations: 127.4 kB / 0.6765 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1833, allocations: 0 / 0.6765 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.409e-05/0.1834, allocations: 43.92 kB / 0.6765 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.1839, allocations: 56.83 kB / 0.6766 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1858, allocations: 2.038 MB / 0.6786 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1861, allocations: 0.7168 MB / 0.6793 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.1862, allocations: 49.83 kB / 0.6793 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.1863, allocations: 43.42 kB / 0.6794 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of SimCode: time 1.753e-06/0.1863, allocations: 0 / 0.6794 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.2076, allocations: 5.235 MB / 0.6845 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.737, allocations: 11.75 kB / 0.6845 GB, free: 3.152 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)