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.005521/0.005521, allocations: 103.2 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.001222/0.001223, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.333/1.333, 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-master/package.mo): time 0.794/0.794, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.33 kB / 0.5852 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 80.91 MB / 0.6642 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01693/0.1626, allocations: 12.98 MB / 0.6769 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.1654, allocations: 2.671 MB / 0.6795 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1656, allocations: 8 kB / 0.6795 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.1659, allocations: 47.69 kB / 0.6796 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.1663, allocations: 95.34 kB / 0.6796 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1676, allocations: 0.5072 MB / 0.6801 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1679, allocations: 235.9 kB / 0.6804 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/0.168, allocations: 9.562 kB / 0.6804 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008225/0.1762, allocations: 3.591 MB / 0.6839 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.1764, allocations: 91.66 kB / 0.684 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.1764, allocations: 8 kB / 0.684 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.1789, allocations: 1.064 MB / 0.685 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.179, allocations: 39.83 kB / 0.6851 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1792, allocations: 87.64 kB / 0.6851 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007698/0.1799, allocations: 367 kB / 0.6855 GB, free: 360 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1799, allocations: 0 / 0.6855 GB, free: 360 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.18, allocations: 0 / 0.6855 GB, free: 360 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.18, allocations: 0 / 0.6855 GB, free: 360 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.0007707/0.1807, allocations: 0.4992 MB / 0.686 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1808, allocations: 13.11 kB / 0.686 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.1809, allocations: 58.72 kB / 0.686 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.1811, allocations: 20.75 kB / 0.6861 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1814, allocations: 212.2 kB / 0.6863 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1814, allocations: 16.64 kB / 0.6863 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1814, allocations: 16.38 kB / 0.6863 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.1818, allocations: 248 kB / 0.6865 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1818, allocations: 0 / 0.6865 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.1819, allocations: 8 kB / 0.6865 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.1819, allocations: 4 kB / 0.6865 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.1824, allocations: 435.5 kB / 0.687 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1834, allocations: 0.9642 MB / 0.6879 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1837, allocations: 159 kB / 0.6881 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.1838, allocations: 64.88 kB / 0.6881 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.1851, allocations: 1.837 MB / 0.6899 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1851, allocations: 34.56 kB / 0.6899 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.1852, allocations: 0 / 0.6899 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003209/0.1855, allocations: 149.4 kB / 0.6901 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1855, allocations: 51.41 kB / 0.6901 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1857, allocations: 176.1 kB / 0.6903 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1857, allocations: 33.7 kB / 0.6903 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.1858, allocations: 139.8 kB / 0.6905 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.1858, allocations: 55.2 kB / 0.6905 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/0.1859, allocations: 49.7 kB / 0.6906 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.186, allocations: 322.8 kB / 0.6909 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.1861, allocations: 39.97 kB / 0.6909 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1862, allocations: 133.7 kB / 0.691 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1865, allocations: 203.5 kB / 0.6912 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1865, allocations: 4 kB / 0.6912 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003171/0.1868, allocations: 209.1 kB / 0.6914 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1868, allocations: 8 kB / 0.6914 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1868, allocations: 4 kB / 0.6914 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1868, allocations: 7.938 kB / 0.6915 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.187, allocations: 51.92 kB / 0.6915 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.187, allocations: 15.92 kB / 0.6915 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1871, allocations: 28.16 kB / 0.6915 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1872, allocations: 16 kB / 0.6916 GB, free: 9.383 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.666e-05/0.1873, allocations: 133.7 kB / 0.6917 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.1873, allocations: 15.81 kB / 0.6917 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.1876, allocations: 158.8 kB / 0.6919 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.1877, allocations: 11.92 kB / 0.6919 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1877, allocations: 0 / 0.6919 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1877, allocations: 0 / 0.6919 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1879, allocations: 217.5 kB / 0.6921 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1879, allocations: 0 / 0.6921 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/0.188, allocations: 31.98 kB / 0.6921 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.188, allocations: 0 / 0.6921 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.188, allocations: 4 kB / 0.6921 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.188, allocations: 7.922 kB / 0.6921 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.188, allocations: 0 / 0.6921 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1883, allocations: 218.4 kB / 0.6923 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.1884, allocations: 112.9 kB / 0.6924 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1884, allocations: 4 kB / 0.6924 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1886, allocations: 19.92 kB / 0.6925 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.1886, allocations: 8 kB / 0.6925 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.1887, allocations: 15.97 kB / 0.6925 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.997e-05/0.1888, allocations: 120 kB / 0.6926 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1888, allocations: 0 / 0.6926 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003866/0.1892, allocations: 83.92 kB / 0.6927 GB, free: 8.152 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.0006988/0.1899, allocations: 0.8306 MB / 0.6935 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1901, allocations: 123.7 kB / 0.6936 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1901, allocations: 0 / 0.6936 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.1902, allocations: 46.45 kB / 0.6936 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1906, allocations: 68.75 kB / 0.6937 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.1928, allocations: 2.034 MB / 0.6957 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1931, allocations: 0.7206 MB / 0.6964 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000151/0.1932, allocations: 45.75 kB / 0.6964 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.1933, allocations: 43.42 kB / 0.6965 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.1933, allocations: 0 / 0.6965 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.2158, allocations: 5.483 MB / 0.7018 GB, free: 14.67 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.697, allocations: 8.922 kB / 0.7019 GB, free: 14.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)