Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",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.007365/0.007365, allocations: 99.7 kB / 15.73 MB, free: 6.004 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.001658/0.001658, allocations: 192.5 kB / 16.67 MB, free: 5.922 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.765/0.765, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 61.34 kB / 0.5852 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 80.92 MB / 0.6642 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01512/0.1465, allocations: 12.98 MB / 0.6769 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.1492, allocations: 2.675 MB / 0.6795 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1493, allocations: 0 / 0.6795 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1496, allocations: 47.67 kB / 0.6796 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.1499, allocations: 103.4 kB / 0.6797 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.1511, allocations: 0.5038 MB / 0.6801 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.1514, allocations: 235.9 kB / 0.6804 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.1515, allocations: 13.55 kB / 0.6804 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00785/0.1593, allocations: 3.578 MB / 0.6839 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1595, allocations: 91.61 kB / 0.684 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.1596, allocations: 8 kB / 0.684 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.1619, allocations: 1.068 MB / 0.685 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.162, allocations: 39.83 kB / 0.6851 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1621, allocations: 83.64 kB / 0.6851 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.1628, allocations: 366.8 kB / 0.6855 GB, free: 376 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1628, allocations: 4 kB / 0.6855 GB, free: 372 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1628, allocations: 4 kB / 0.6855 GB, free: 368 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1628, allocations: 0 / 0.6855 GB, free: 368 kB / 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.0007075/0.1635, allocations: 0.4986 MB / 0.686 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1636, allocations: 17.09 kB / 0.686 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.442e-05/0.1636, allocations: 54.61 kB / 0.686 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.1638, allocations: 24.84 kB / 0.6861 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1641, allocations: 220.1 kB / 0.6863 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1641, allocations: 16.69 kB / 0.6863 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1641, allocations: 16.38 kB / 0.6863 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.1645, allocations: 244.1 kB / 0.6865 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1645, allocations: 7.938 kB / 0.6865 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1646, allocations: 8 kB / 0.6866 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.1646, allocations: 12 kB / 0.6866 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.1651, allocations: 423.5 kB / 0.687 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.1662, allocations: 0.9605 MB / 0.6879 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1664, allocations: 163 kB / 0.6881 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.1665, allocations: 64.88 kB / 0.6881 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.1678, allocations: 1.833 MB / 0.6899 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1678, allocations: 38.56 kB / 0.69 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1678, allocations: 0 / 0.69 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000319/0.1682, allocations: 149.4 kB / 0.6901 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1682, allocations: 55.41 kB / 0.6901 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1684, allocations: 168.2 kB / 0.6903 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1684, allocations: 37.64 kB / 0.6903 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.1685, allocations: 144.1 kB / 0.6905 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1685, allocations: 51.58 kB / 0.6905 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.1686, allocations: 57.66 kB / 0.6906 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.1687, allocations: 326.8 kB / 0.6909 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.1688, allocations: 31.98 kB / 0.6909 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1689, allocations: 141.7 kB / 0.6911 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.1691, allocations: 204 kB / 0.6913 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1691, allocations: 0 / 0.6913 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003141/0.1694, allocations: 213.6 kB / 0.6915 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1695, allocations: 12 kB / 0.6915 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1695, allocations: 0 / 0.6915 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1695, allocations: 11.94 kB / 0.6915 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1697, allocations: 51.91 kB / 0.6915 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1697, allocations: 7.938 kB / 0.6915 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1698, allocations: 23.84 kB / 0.6916 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1698, allocations: 19.94 kB / 0.6916 GB, free: 9.371 MB / 0.5294 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.589e-05/0.1699, allocations: 129.7 kB / 0.6917 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.17, allocations: 23.89 kB / 0.6917 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.1703, allocations: 158.9 kB / 0.6919 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.1703, allocations: 3.938 kB / 0.6919 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1703, allocations: 4 kB / 0.6919 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1703, allocations: 0 / 0.6919 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.1706, allocations: 217.5 kB / 0.6921 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1706, allocations: 0 / 0.6921 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.1707, allocations: 31.92 kB / 0.6921 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1707, allocations: 0 / 0.6921 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1707, allocations: 0 / 0.6921 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1707, allocations: 7.938 kB / 0.6921 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1707, allocations: 4 kB / 0.6921 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1709, allocations: 221.8 kB / 0.6924 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.171, allocations: 116.9 kB / 0.6925 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1711, allocations: 4 kB / 0.6925 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1713, allocations: 15.92 kB / 0.6925 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.1713, allocations: 15.92 kB / 0.6925 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.1713, allocations: 8 kB / 0.6925 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.354e-05/0.1714, allocations: 123.9 kB / 0.6926 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1714, allocations: 0 / 0.6926 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003726/0.1718, allocations: 79.88 kB / 0.6927 GB, free: 8.137 MB / 0.5294 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.0006485/0.1725, allocations: 0.8383 MB / 0.6935 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1727, allocations: 115.7 kB / 0.6936 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1727, allocations: 192 / 0.6936 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.1728, allocations: 51.86 kB / 0.6937 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1732, allocations: 57.5 kB / 0.6937 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1752, allocations: 2.042 MB / 0.6957 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.1755, allocations: 0.7206 MB / 0.6964 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.1756, allocations: 41.75 kB / 0.6965 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.448e-05/0.1757, allocations: 55.41 kB / 0.6965 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1757, allocations: 0 / 0.6965 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.1977, allocations: 5.475 MB / 0.7019 GB, free: 14.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.614, allocations: 18.08 kB / 0.7019 GB, free: 14.64 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT_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_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)