Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.001641/0.001642, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.002081/0.002081, allocations: 191.1 kB / 16.25 MB, free: 6.586 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9577/0.9577, allocations: 135.1 MB / 425.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 71.44 kB / 0.5049 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1778, allocations: 80.92 MB / 0.584 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006368/0.1842, allocations: 4.048 MB / 0.5879 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000225/0.1845, allocations: 155.5 kB / 0.5881 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.1845, allocations: 0 / 0.5881 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.1847, allocations: 7.922 kB / 0.5881 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.1848, allocations: 7.922 kB / 0.5881 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.1852, allocations: 83.06 kB / 0.5882 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.1853, allocations: 31.86 kB / 0.5882 GB, free: 476 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.1854, allocations: 3.984 kB / 0.5882 GB, free: 472 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.1854, allocations: 19.94 kB / 0.5882 GB, free: 452 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.1855, allocations: 7.984 kB / 0.5882 GB, free: 444 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1855, allocations: 7.984 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.1857, allocations: 55.81 kB / 0.5883 GB, free: 380 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.1858, allocations: 8 kB / 0.5883 GB, free: 372 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.1858, allocations: 11.92 kB / 0.5883 GB, free: 360 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.186, allocations: 48.17 kB / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.186, allocations: 0 / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.186, allocations: 0 / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.186, allocations: 0 / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004634/0.1865, allocations: 339.4 kB / 0.5887 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1865, allocations: 12.03 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.1866, allocations: 30.75 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.1866, allocations: 12.88 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.1868, allocations: 172.3 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/0.1869, allocations: 30.25 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1869, allocations: 4.125 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.187, allocations: 49.61 kB / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1871, allocations: 0 / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1871, allocations: 3.984 kB / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.1871, allocations: 0 / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.1872, allocations: 19.98 kB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.1877, allocations: 338 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.973e-05/0.1878, allocations: 14.58 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.1878, allocations: 8.797 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.1879, allocations: 85.17 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1879, allocations: 34.56 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1879, allocations: 4 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.1881, allocations: 37.59 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1882, allocations: 55.41 kB / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.1883, allocations: 97.86 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1883, allocations: 29.69 kB / 0.5897 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.1884, allocations: 91.98 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.1884, allocations: 0 / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.1884, allocations: 21.84 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1885, allocations: 318.8 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.1886, allocations: 11.92 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.45e-05/0.1886, allocations: 17.72 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.1886, allocations: 13.72 kB / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1886, allocations: 0 / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.171e-05/0.1887, allocations: 57.62 kB / 0.5902 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1888, allocations: 4 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1888, allocations: 0 / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1888, allocations: 0 / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.1888, allocations: 7.984 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1889, allocations: 4 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.1889, allocations: 3.906 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1889, allocations: 0 / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.914e-05/0.189, allocations: 117.8 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.1891, allocations: 8 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1892, allocations: 120.9 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.08e-05/0.1893, allocations: 180.2 kB / 0.5906 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.332e-05/0.1894, allocations: 184.2 kB / 0.5908 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.075e-05/0.1894, allocations: 180.3 kB / 0.591 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.1897, allocations: 409.2 kB / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-05/0.1898, allocations: 104.9 kB / 0.5914 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.1898, allocations: 105 kB / 0.5915 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.358e-05/0.1899, allocations: 184.2 kB / 0.5917 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.19, allocations: 180.3 kB / 0.5919 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.449e-05/0.19, allocations: 180.2 kB / 0.5921 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.226e-05/0.1901, allocations: 180.3 kB / 0.5922 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.1903, allocations: 315.7 kB / 0.5925 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.1904, allocations: 178.1 kB / 0.5927 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/0.1905, allocations: 188.5 kB / 0.5929 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.1907, allocations: 113 kB / 0.593 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.1907, allocations: 184.3 kB / 0.5932 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.1908, allocations: 104.9 kB / 0.5933 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.1909, allocations: 83.27 kB / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1909, allocations: 0 / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002587/0.1911, allocations: 15.94 kB / 0.5934 GB, free: 10.66 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0005388/0.1917, allocations: 0.8321 MB / 0.5942 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.705e-05/0.1918, allocations: 11.94 kB / 0.5942 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1918, allocations: 0 / 0.5942 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.1918, allocations: 0 / 0.5942 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1922, allocations: 463.8 kB / 0.5946 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1932, allocations: 1.309 MB / 0.5959 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1935, allocations: 0.6845 MB / 0.5966 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.639e-05/0.1936, allocations: 4.047 kB / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1936, allocations: 15.44 kB / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of SimCode: time 1.753e-06/0.1936, allocations: 0 / 0.5966 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1682/0.3619, allocations: 1.398 MB / 0.598 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.3621, allocations: 206.4 kB / 0.5982 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.373, allocations: 4.062 kB / 0.5982 GB, free: 5.68 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)