Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_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.004697/0.004697, allocations: 96.7 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.00118/0.00118, allocations: 194.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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7575/0.7575, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 58.59 kB / 0.5809 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1544, allocations: 80.21 MB / 0.6593 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01571/0.1702, allocations: 12.97 MB / 0.6719 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002818/0.173, allocations: 2.667 MB / 0.6745 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.1732, allocations: 0 / 0.6745 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1736, allocations: 47.67 kB / 0.6746 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.1739, allocations: 103.4 kB / 0.6747 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.1753, allocations: 0.5102 MB / 0.6752 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.1756, allocations: 232 kB / 0.6754 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1756, allocations: 13.56 kB / 0.6754 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008689/0.1843, allocations: 3.586 MB / 0.6789 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.1846, allocations: 87.66 kB / 0.679 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.1846, allocations: 8 kB / 0.679 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.1872, allocations: 1.075 MB / 0.6801 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.1873, allocations: 35.89 kB / 0.6801 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1874, allocations: 83.66 kB / 0.6802 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009024/0.1883, allocations: 370.7 kB / 0.6805 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1883, allocations: 3.984 kB / 0.6805 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1884, allocations: 0 / 0.6805 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1884, allocations: 0 / 0.6805 GB, free: 8.074 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.0007738/0.1891, allocations: 0.5025 MB / 0.681 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1892, allocations: 12.03 kB / 0.681 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.1893, allocations: 46.73 kB / 0.6811 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.1894, allocations: 20.84 kB / 0.6811 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1897, allocations: 224.1 kB / 0.6813 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1898, allocations: 12.7 kB / 0.6813 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1898, allocations: 20.36 kB / 0.6813 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.1902, allocations: 248.6 kB / 0.6816 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1902, allocations: 3.938 kB / 0.6816 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.1902, allocations: 8 kB / 0.6816 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.1903, allocations: 12 kB / 0.6816 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.1907, allocations: 423.5 kB / 0.682 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.1919, allocations: 0.9761 MB / 0.683 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.1922, allocations: 159.9 kB / 0.6831 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1923, allocations: 56.89 kB / 0.6832 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.1937, allocations: 1.837 MB / 0.685 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.1937, allocations: 42.55 kB / 0.685 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.1937, allocations: 0 / 0.685 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003554/0.1941, allocations: 148.3 kB / 0.6851 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1942, allocations: 55.41 kB / 0.6852 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1943, allocations: 173.6 kB / 0.6854 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1944, allocations: 29.7 kB / 0.6854 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.1944, allocations: 144.1 kB / 0.6855 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.1945, allocations: 55.58 kB / 0.6856 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.1946, allocations: 53.66 kB / 0.6856 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1947, allocations: 322.8 kB / 0.6859 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.905e-05/0.1948, allocations: 31.98 kB / 0.686 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1949, allocations: 150.8 kB / 0.6861 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.1951, allocations: 193.5 kB / 0.6863 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1951, allocations: 0 / 0.6863 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003243/0.1955, allocations: 224.9 kB / 0.6865 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1955, allocations: 4 kB / 0.6865 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1955, allocations: 4 kB / 0.6865 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1955, allocations: 15.88 kB / 0.6865 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.1957, allocations: 51.92 kB / 0.6866 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1957, allocations: 4 kB / 0.6866 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1958, allocations: 23.84 kB / 0.6866 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1959, allocations: 15.98 kB / 0.6866 GB, free: 1.094 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.0001021/0.196, allocations: 137.8 kB / 0.6868 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.196, allocations: 15.91 kB / 0.6868 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.1963, allocations: 168.6 kB / 0.6869 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.1964, allocations: 3.938 kB / 0.6869 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1964, allocations: 0 / 0.6869 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1964, allocations: 3.984 kB / 0.6869 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1966, allocations: 217.6 kB / 0.6871 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1966, allocations: 0 / 0.6871 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.1967, allocations: 19.98 kB / 0.6872 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1967, allocations: 4 kB / 0.6872 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1967, allocations: 4 kB / 0.6872 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1968, allocations: 7.938 kB / 0.6872 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1968, allocations: 0 / 0.6872 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.197, allocations: 223.3 kB / 0.6874 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.1971, allocations: 112.9 kB / 0.6875 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1971, allocations: 3.984 kB / 0.6875 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1974, allocations: 19.94 kB / 0.6875 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.1974, allocations: 11.98 kB / 0.6875 GB, free: 76 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1974, allocations: 15.98 kB / 0.6875 GB, free: 60 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001023/0.1975, allocations: 121.6 kB / 0.6877 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1975, allocations: 0 / 0.6877 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004038/0.1979, allocations: 79.86 kB / 0.6877 GB, free: 15.86 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.0007611/0.1987, allocations: 0.8323 MB / 0.6886 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.199, allocations: 120.6 kB / 0.6887 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.199, allocations: 4.062 kB / 0.6887 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.199, allocations: 43.92 kB / 0.6887 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.1995, allocations: 69.56 kB / 0.6888 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.2016, allocations: 2.041 MB / 0.6908 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2019, allocations: 0.7129 MB / 0.6915 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.2021, allocations: 52.03 kB / 0.6915 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.2022, allocations: 43.42 kB / 0.6916 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.2022, allocations: 0 / 0.6916 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.2256, allocations: 5.48 MB / 0.6969 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.697, allocations: 6.516 kB / 0.6969 GB, free: 6.441 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)