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: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005293/0.005293, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001078/0.001078, allocations: 190 kB / 16.67 MB, free: 5.516 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.347/1.347, 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.824/0.824, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 62.28 kB / 0.5856 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1757, allocations: 80.93 MB / 0.6647 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006133/0.1818, allocations: 4.723 MB / 0.6693 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002911/0.1848, allocations: 2.695 MB / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.1849, allocations: 4 kB / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1852, allocations: 59.66 kB / 0.672 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.1856, allocations: 91.36 kB / 0.6721 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.187, allocations: 0.5111 MB / 0.6726 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.1874, allocations: 236 kB / 0.6728 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.1874, allocations: 9.547 kB / 0.6728 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.1877, allocations: 123.5 kB / 0.6729 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1879, allocations: 87.66 kB / 0.673 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1879, allocations: 8 kB / 0.673 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007538/0.1887, allocations: 363.3 kB / 0.6734 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.1888, allocations: 35.89 kB / 0.6734 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.829e-05/0.1889, allocations: 83.58 kB / 0.6735 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006021/0.1895, allocations: 367.1 kB / 0.6738 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1895, allocations: 0 / 0.6738 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.835e-06/0.1895, allocations: 0 / 0.6738 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.1895, allocations: 0 / 0.6738 GB, free: 12.32 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.0008837/0.1904, allocations: 0.4992 MB / 0.6743 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1904, allocations: 9.109 kB / 0.6743 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.1906, allocations: 16.84 kB / 0.6743 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1909, allocations: 224 kB / 0.6745 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1909, allocations: 8.703 kB / 0.6745 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1909, allocations: 24.31 kB / 0.6746 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.1913, allocations: 244.2 kB / 0.6748 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1913, allocations: 0 / 0.6748 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.1914, allocations: 8 kB / 0.6748 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.1914, allocations: 7.984 kB / 0.6748 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.1919, allocations: 431.5 kB / 0.6752 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.1931, allocations: 0.9525 MB / 0.6762 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1934, allocations: 169.8 kB / 0.6763 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/0.1935, allocations: 56.89 kB / 0.6764 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.1949, allocations: 1.833 MB / 0.6782 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.195, allocations: 34.5 kB / 0.6782 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.195, allocations: 4 kB / 0.6782 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003429/0.1953, allocations: 137.5 kB / 0.6783 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1954, allocations: 67.27 kB / 0.6784 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1956, allocations: 168.2 kB / 0.6786 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1956, allocations: 29.7 kB / 0.6786 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.1957, allocations: 147.8 kB / 0.6787 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.1958, allocations: 51.2 kB / 0.6788 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.1958, allocations: 53.7 kB / 0.6788 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.196, allocations: 326.8 kB / 0.6791 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.196, allocations: 35.97 kB / 0.6792 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1962, allocations: 144.3 kB / 0.6793 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.1964, allocations: 201.5 kB / 0.6795 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1964, allocations: 0 / 0.6795 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003394/0.1968, allocations: 217.1 kB / 0.6797 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1968, allocations: 4.469 kB / 0.6797 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1968, allocations: 8 kB / 0.6797 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1968, allocations: 4 kB / 0.6797 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.197, allocations: 55.86 kB / 0.6798 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.197, allocations: 11.97 kB / 0.6798 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1971, allocations: 27.69 kB / 0.6798 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1972, allocations: 16 kB / 0.6798 GB, free: 5.426 MB / 0.5137 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.0001145/0.1973, allocations: 129.7 kB / 0.68 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1973, allocations: 19.8 kB / 0.68 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.1976, allocations: 161.1 kB / 0.6801 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.1977, allocations: 3.938 kB / 0.6801 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1977, allocations: 3.984 kB / 0.6801 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1977, allocations: 0 / 0.6801 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.198, allocations: 217.5 kB / 0.6803 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.198, allocations: 0 / 0.6803 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.1981, allocations: 27.98 kB / 0.6804 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1981, allocations: 4 kB / 0.6804 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1981, allocations: 0 / 0.6804 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.1981, allocations: 3.938 kB / 0.6804 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1981, allocations: 7.922 kB / 0.6804 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.1984, allocations: 219.4 kB / 0.6806 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.1985, allocations: 104.9 kB / 0.6807 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1986, allocations: 4 kB / 0.6807 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.1988, allocations: 15.92 kB / 0.6807 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.1988, allocations: 11.92 kB / 0.6807 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.1988, allocations: 15.98 kB / 0.6807 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001603/0.199, allocations: 124 kB / 0.6809 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.199, allocations: 0 / 0.6809 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003781/0.1994, allocations: 83.92 kB / 0.6809 GB, free: 4.199 MB / 0.5137 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.0003231/0.1997, allocations: 172.5 kB / 0.6811 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.2, allocations: 118.3 kB / 0.6812 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2, allocations: 3.938 kB / 0.6812 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.747e-05/0.2001, allocations: 43.97 kB / 0.6813 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.2005, allocations: 60.83 kB / 0.6813 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.2012, allocations: 346.6 kB / 0.6817 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.2017, allocations: 0.709 MB / 0.6823 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.2018, allocations: 49.89 kB / 0.6824 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.2019, allocations: 23.44 kB / 0.6824 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.2019, allocations: 0 / 0.6824 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of Templates: time 0.007021/0.2089, allocations: 3.435 MB / 0.6858 GB, free: 15.23 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)