Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",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.00168/0.00168, 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.001551/0.001551, allocations: 193.1 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9448/0.9448, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 56.31 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1674, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006411/0.1739, allocations: 4.716 MB / 0.5891 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.1769, allocations: 2.698 MB / 0.5917 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.1772, allocations: 0 / 0.5917 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1775, allocations: 47.67 kB / 0.5917 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.178, allocations: 95.36 kB / 0.5918 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.1796, allocations: 0.5009 MB / 0.5923 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.1799, allocations: 231.9 kB / 0.5925 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.18, allocations: 9.562 kB / 0.5926 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.1803, allocations: 111.6 kB / 0.5927 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.1805, allocations: 91.61 kB / 0.5927 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.1805, allocations: 8 kB / 0.5928 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1816, allocations: 371.3 kB / 0.5931 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1817, allocations: 35.89 kB / 0.5931 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1819, allocations: 83.66 kB / 0.5932 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008586/0.1828, allocations: 355.4 kB / 0.5936 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.1828, allocations: 7.984 kB / 0.5936 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1828, allocations: 0 / 0.5936 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.1828, allocations: 0 / 0.5936 GB, free: 11.09 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.001028/0.1839, allocations: 0.4992 MB / 0.5941 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1839, allocations: 12.03 kB / 0.5941 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.623e-05/0.184, allocations: 46.73 kB / 0.5941 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.1842, allocations: 28.75 kB / 0.5941 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1845, allocations: 216 kB / 0.5943 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1845, allocations: 12.7 kB / 0.5944 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.1846, allocations: 16.36 kB / 0.5944 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.185, allocations: 248 kB / 0.5946 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1851, allocations: 4 kB / 0.5946 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.1851, allocations: 4 kB / 0.5946 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.1851, allocations: 15.98 kB / 0.5946 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.1858, allocations: 423.5 kB / 0.595 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.187, allocations: 0.9488 MB / 0.596 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.1873, allocations: 155.7 kB / 0.5961 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1874, allocations: 64.83 kB / 0.5962 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.1891, allocations: 1.821 MB / 0.598 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.1891, allocations: 42.56 kB / 0.598 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.1891, allocations: 0 / 0.598 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000406/0.1895, allocations: 145.3 kB / 0.5981 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.1896, allocations: 59.34 kB / 0.5982 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1898, allocations: 161.9 kB / 0.5983 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.1899, allocations: 37.64 kB / 0.5984 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1901, allocations: 147.7 kB / 0.5985 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.1901, allocations: 47.3 kB / 0.5986 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1902, allocations: 57.61 kB / 0.5986 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1904, allocations: 326.8 kB / 0.5989 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.1905, allocations: 39.97 kB / 0.599 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.1907, allocations: 131 kB / 0.5991 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.191, allocations: 204.3 kB / 0.5993 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.191, allocations: 3.938 kB / 0.5993 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004194/0.1915, allocations: 217.3 kB / 0.5995 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1915, allocations: 8 kB / 0.5995 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1915, allocations: 0 / 0.5995 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.1915, allocations: 11.94 kB / 0.5995 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1918, allocations: 51.92 kB / 0.5996 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.1918, allocations: 11.92 kB / 0.5996 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.192, allocations: 27.69 kB / 0.5996 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.192, allocations: 16 kB / 0.5996 GB, free: 4.152 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.0001677/0.1922, allocations: 130.8 kB / 0.5997 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.1922, allocations: 15.81 kB / 0.5998 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.1926, allocations: 155 kB / 0.5999 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.1926, allocations: 7.922 kB / 0.5999 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1927, allocations: 4 kB / 0.5999 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1927, allocations: 0 / 0.5999 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.193, allocations: 213.5 kB / 0.6001 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.193, allocations: 3.984 kB / 0.6001 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.1931, allocations: 31.94 kB / 0.6002 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1931, allocations: 0 / 0.6002 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1931, allocations: 3.984 kB / 0.6002 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.1932, allocations: 7.938 kB / 0.6002 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1932, allocations: 0 / 0.6002 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1935, allocations: 220.7 kB / 0.6004 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.1936, allocations: 108.8 kB / 0.6005 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1937, allocations: 11.92 kB / 0.6005 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.1939, allocations: 15.94 kB / 0.6005 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.1939, allocations: 11.98 kB / 0.6005 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.194, allocations: 11.98 kB / 0.6005 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000113/0.1941, allocations: 124.9 kB / 0.6007 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1941, allocations: 0 / 0.6007 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000477/0.1946, allocations: 79.94 kB / 0.6007 GB, free: 2.918 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.0009075/0.1955, allocations: 0.8358 MB / 0.6015 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003054/0.1958, allocations: 120.6 kB / 0.6017 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.1958, allocations: 4 kB / 0.6017 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.1959, allocations: 47.86 kB / 0.6017 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.1964, allocations: 59.78 kB / 0.6018 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3058/0.5022, allocations: 2.017 MB / 0.6037 GB, free: 52.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.5024, allocations: 0.7146 MB / 0.6044 GB, free: 51.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.5026, allocations: 40.98 kB / 0.6045 GB, free: 51.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.5027, allocations: 45.12 kB / 0.6045 GB, free: 51.35 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.5027, allocations: 0.7188 kB / 0.6045 GB, free: 51.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.5252, allocations: 5.185 MB / 0.6096 GB, free: 50.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.601, allocations: 9.062 kB / 0.6096 GB, free: 50.84 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)