Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.001449/0.001449, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7778/0.7778, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 63.02 kB / 0.5019 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1658, allocations: 80.21 MB / 0.5802 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.007124/0.1729, allocations: 4.432 MB / 0.5845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.176, allocations: 2.695 MB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.1761, allocations: 4 kB / 0.5871 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1764, allocations: 35.69 kB / 0.5872 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1767, allocations: 103.3 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1779, allocations: 488.5 kB / 0.5877 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.1781, allocations: 231.9 kB / 0.588 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.1782, allocations: 13.56 kB / 0.588 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008731/0.1791, allocations: 421.6 kB / 0.5884 GB, free: 280 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1792, allocations: 87.61 kB / 0.5885 GB, free: 192 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1792, allocations: 8 kB / 0.5885 GB, free: 184 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009146/0.1802, allocations: 499.3 kB / 0.5889 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.1802, allocations: 39.89 kB / 0.589 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.253e-05/0.1803, allocations: 79.59 kB / 0.5891 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.1809, allocations: 343.2 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1809, allocations: 0 / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1809, allocations: 4 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.1809, allocations: 0 / 0.5894 GB, free: 15.23 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.0006862/0.1816, allocations: 0.4992 MB / 0.5899 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1816, allocations: 11.97 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.1817, allocations: 54.73 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1819, allocations: 20.84 kB / 0.59 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1821, allocations: 212.1 kB / 0.5902 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1821, allocations: 12.7 kB / 0.5902 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1821, allocations: 16.38 kB / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.1825, allocations: 249.5 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1825, allocations: 0 / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.1825, allocations: 12 kB / 0.5904 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.1826, allocations: 8 kB / 0.5904 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.183, allocations: 435.4 kB / 0.5909 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1841, allocations: 1.004 MB / 0.5918 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1844, allocations: 163.1 kB / 0.592 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.1845, allocations: 60.88 kB / 0.5921 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.1858, allocations: 1.833 MB / 0.5938 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1859, allocations: 34.56 kB / 0.5939 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1859, allocations: 0 / 0.5939 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000346/0.1862, allocations: 141.5 kB / 0.594 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.1863, allocations: 59.33 kB / 0.5941 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1864, allocations: 173.5 kB / 0.5942 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1865, allocations: 33.7 kB / 0.5943 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.1866, allocations: 143.8 kB / 0.5944 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1866, allocations: 51.27 kB / 0.5945 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.1867, allocations: 53.7 kB / 0.5945 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1868, allocations: 322.8 kB / 0.5948 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.1869, allocations: 43.91 kB / 0.5949 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.187, allocations: 138.2 kB / 0.595 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1872, allocations: 191.9 kB / 0.5952 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.1872, allocations: 0 / 0.5952 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003127/0.1876, allocations: 225 kB / 0.5954 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1876, allocations: 8 kB / 0.5954 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1876, allocations: 4 kB / 0.5954 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1876, allocations: 7.938 kB / 0.5954 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.1878, allocations: 51.92 kB / 0.5955 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1878, allocations: 8 kB / 0.5955 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1879, allocations: 32.2 kB / 0.5955 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1879, allocations: 16 kB / 0.5955 GB, free: 8.223 MB / 0.4981 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.0001079/0.1881, allocations: 137.7 kB / 0.5956 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.1881, allocations: 15.81 kB / 0.5957 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.1884, allocations: 150.8 kB / 0.5958 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.1884, allocations: 7.938 kB / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1884, allocations: 0 / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1884, allocations: 3.984 kB / 0.5958 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.1887, allocations: 213.5 kB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1887, allocations: 4 kB / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.1888, allocations: 27.92 kB / 0.596 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1888, allocations: 0 / 0.596 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1888, allocations: 4 kB / 0.596 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1888, allocations: 7.938 kB / 0.5961 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1888, allocations: 0 / 0.5961 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1891, allocations: 220.8 kB / 0.5963 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.1891, allocations: 108.8 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1892, allocations: 4 kB / 0.5964 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1894, allocations: 19.92 kB / 0.5964 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.1894, allocations: 15.92 kB / 0.5964 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1894, allocations: 8 kB / 0.5964 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.074e-05/0.1895, allocations: 129.5 kB / 0.5965 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1895, allocations: 0 / 0.5965 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003803/0.1899, allocations: 76 kB / 0.5966 GB, free: 6.996 MB / 0.4981 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.000744/0.1907, allocations: 0.824 MB / 0.5974 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.1909, allocations: 128.5 kB / 0.5975 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1909, allocations: 4.125 kB / 0.5975 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.488e-05/0.191, allocations: 43.92 kB / 0.5976 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.1915, allocations: 66.2 kB / 0.5976 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.1935, allocations: 2.029 MB / 0.5996 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1937, allocations: 0.7128 MB / 0.6003 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.1939, allocations: 41.75 kB / 0.6004 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.194, allocations: 51.36 kB / 0.6004 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.194, allocations: 0 / 0.6004 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2675/0.4615, allocations: 5.105 MB / 0.6054 GB, free: 56.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.753, allocations: 8.219 kB / 0.6054 GB, free: 56.16 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties_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_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)