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.004499/0.004499, allocations: 102.9 kB / 15.74 MB, free: 6.07 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.001254/0.001254, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.373/1.373, 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/package.mo): time 0.8326/0.8326, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 62.48 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1406, allocations: 80.2 MB / 0.6592 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01723/0.1579, allocations: 12.98 MB / 0.6719 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003393/0.1613, allocations: 2.671 MB / 0.6745 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1615, allocations: 8 kB / 0.6745 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1618, allocations: 39.69 kB / 0.6746 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.1622, allocations: 95.41 kB / 0.6747 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.1636, allocations: 0.5039 MB / 0.6752 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.1639, allocations: 231.9 kB / 0.6754 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.164, allocations: 9.562 kB / 0.6754 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008694/0.1727, allocations: 3.581 MB / 0.6789 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.1729, allocations: 91.59 kB / 0.679 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.1729, allocations: 8 kB / 0.679 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.1754, allocations: 1.076 MB / 0.68 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.1755, allocations: 39.89 kB / 0.6801 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1756, allocations: 83.64 kB / 0.6802 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.1763, allocations: 362.8 kB / 0.6805 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1763, allocations: 0 / 0.6805 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1763, allocations: 0 / 0.6805 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1763, allocations: 0 / 0.6805 GB, free: 4.844 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.0007765/0.1771, allocations: 0.5103 MB / 0.681 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1771, allocations: 11.97 kB / 0.681 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.1e-05/0.1772, allocations: 54.73 kB / 0.6811 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.1774, allocations: 20.84 kB / 0.6811 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1776, allocations: 220.1 kB / 0.6813 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1777, allocations: 8.703 kB / 0.6813 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1777, allocations: 16.38 kB / 0.6813 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.1781, allocations: 248 kB / 0.6816 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1781, allocations: 7.875 kB / 0.6816 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.1782, allocations: 8 kB / 0.6816 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.1782, allocations: 4 kB / 0.6816 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/0.1787, allocations: 435.5 kB / 0.682 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1799, allocations: 0.9644 MB / 0.6829 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.1803, allocations: 159 kB / 0.6831 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1804, allocations: 64.88 kB / 0.6831 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.1819, allocations: 1.837 MB / 0.6849 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.182, allocations: 38.56 kB / 0.685 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.182, allocations: 0 / 0.685 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003496/0.1824, allocations: 153.4 kB / 0.6851 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1824, allocations: 51.41 kB / 0.6852 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1826, allocations: 183.2 kB / 0.6853 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1826, allocations: 29.7 kB / 0.6854 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1827, allocations: 144.1 kB / 0.6855 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.1828, allocations: 51.59 kB / 0.6856 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.1829, allocations: 53.66 kB / 0.6856 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.183, allocations: 326.8 kB / 0.6859 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.1831, allocations: 35.97 kB / 0.686 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1833, allocations: 142.2 kB / 0.6861 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1835, allocations: 204.3 kB / 0.6863 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1835, allocations: 0 / 0.6863 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003519/0.1839, allocations: 217.2 kB / 0.6865 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1839, allocations: 4 kB / 0.6865 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1839, allocations: 4 kB / 0.6865 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.184, allocations: 7.938 kB / 0.6865 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.1841, allocations: 55.92 kB / 0.6866 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1842, allocations: 12.39 kB / 0.6866 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1843, allocations: 27.84 kB / 0.6866 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.1843, allocations: 16 kB / 0.6866 GB, free: 13.84 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 0.00012/0.1844, allocations: 133.7 kB / 0.6867 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.1845, allocations: 15.91 kB / 0.6868 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.1848, allocations: 155.1 kB / 0.6869 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.1848, allocations: 7.922 kB / 0.6869 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1848, allocations: 0 / 0.6869 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1848, allocations: 0 / 0.6869 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.1851, allocations: 213.6 kB / 0.6871 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1851, allocations: 4 kB / 0.6871 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/0.1852, allocations: 31.92 kB / 0.6872 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1852, allocations: 4 kB / 0.6872 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1853, allocations: 0 / 0.6872 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1853, allocations: 7.922 kB / 0.6872 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1853, allocations: 0 / 0.6872 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1856, allocations: 222 kB / 0.6874 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.1857, allocations: 112.9 kB / 0.6875 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1857, allocations: 8 kB / 0.6875 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.1859, allocations: 19.91 kB / 0.6875 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.1859, allocations: 11.94 kB / 0.6875 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.186, allocations: 11.98 kB / 0.6875 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.448e-05/0.1861, allocations: 120 kB / 0.6876 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1861, allocations: 0 / 0.6876 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003837/0.1865, allocations: 83.86 kB / 0.6877 GB, free: 12.61 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.0007927/0.1873, allocations: 0.8277 MB / 0.6885 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1875, allocations: 117.9 kB / 0.6886 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1875, allocations: 4 kB / 0.6887 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.122e-05/0.1876, allocations: 39.92 kB / 0.6887 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.1881, allocations: 80.62 kB / 0.6888 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.1904, allocations: 2.046 MB / 0.6908 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1908, allocations: 0.7089 MB / 0.6915 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.191, allocations: 47.78 kB / 0.6915 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.1911, allocations: 43.42 kB / 0.6915 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1911, allocations: 0 / 0.6915 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.2181, allocations: 5.477 MB / 0.6969 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.968, allocations: 7.594 kB / 0.6969 GB, free: 3.172 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)