Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004625/0.004625, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001138/0.001138, allocations: 202 kB / 16.68 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 282 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9554/0.9554, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 91.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1837, allocations: 86.98 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002429/0.1862, allocations: 1.414 MB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004452/0.1866, allocations: 195.5 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.1867, allocations: 4 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.1867, allocations: 3.938 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.167e-05/0.1868, allocations: 3.938 kB / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.187, allocations: 19.91 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.1871, allocations: 31.86 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.1872, allocations: 3.984 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.1872, allocations: 11.94 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.1873, allocations: 15.98 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1873, allocations: 4 kB / 0.768 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.1874, allocations: 23.98 kB / 0.7681 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.1874, allocations: 3.938 kB / 0.7681 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.1874, allocations: 15.97 kB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1876, allocations: 35.84 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1876, allocations: 0 / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1876, allocations: 0 / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1876, allocations: 0 / 0.7681 GB, free: 6.66 MB / 0.5606 GB 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.000422/0.188, allocations: 347.4 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1881, allocations: 8.031 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.1882, allocations: 4.938 kB / 0.7684 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1883, allocations: 168.3 kB / 0.7686 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1883, allocations: 4.375 kB / 0.7686 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1883, allocations: 4.312 kB / 0.7686 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1885, allocations: 54.17 kB / 0.7687 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1885, allocations: 192 / 0.7687 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1885, allocations: 3.938 kB / 0.7687 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1886, allocations: 4 kB / 0.7687 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1887, allocations: 31.97 kB / 0.7687 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.1891, allocations: 248.9 kB / 0.7689 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1892, allocations: 42.44 kB / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.1893, allocations: 24.91 kB / 0.769 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1893, allocations: 4 kB / 0.769 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1894, allocations: 38.55 kB / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1894, allocations: 0 / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.1897, allocations: 73.66 kB / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1898, allocations: 59.52 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.1898, allocations: 101.8 kB / 0.7693 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1899, allocations: 25.7 kB / 0.7693 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.1899, allocations: 84.14 kB / 0.7694 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.1899, allocations: 7.953 kB / 0.7694 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.19, allocations: 13.7 kB / 0.7694 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1901, allocations: 310.8 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-05/0.1902, allocations: 23.98 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.1902, allocations: 11.98 kB / 0.7697 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1904, allocations: 44.81 kB / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1904, allocations: 4 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.1906, allocations: 81.73 kB / 0.7699 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1906, allocations: 4 kB / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1907, allocations: 0 / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1907, allocations: 7.922 kB / 0.7699 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.1908, allocations: 8 kB / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1908, allocations: 0 / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.1908, allocations: 7.984 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1908, allocations: 0 / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.205e-05/0.1909, allocations: 110.5 kB / 0.77 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.191, allocations: 8 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.1912, allocations: 76.77 kB / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1912, allocations: 0 / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1912, allocations: 0 / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1912, allocations: 3.938 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.1914, allocations: 169.6 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1914, allocations: 0 / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.1915, allocations: 19.92 kB / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1915, allocations: 0 / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.1915, allocations: 0 / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1915, allocations: 4 kB / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1915, allocations: 0 / 0.7703 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.1918, allocations: 163.5 kB / 0.7704 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.1918, allocations: 85.06 kB / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1918, allocations: 4 kB / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.1919, allocations: 3.984 kB / 0.7705 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.192, allocations: 4 kB / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.192, allocations: 0 / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.192, allocations: 87.27 kB / 0.7706 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.192, allocations: 0 / 0.7706 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002132/0.1922, allocations: 4 kB / 0.7706 GB, free: 3.789 MB / 0.5606 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 (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 Backend phase and start with SimCode phase: time 0.0001044/0.1924, allocations: 103.2 kB / 0.7707 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1926, allocations: 43.89 kB / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1926, allocations: 0 / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.1927, allocations: 19.98 kB / 0.7707 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.193, allocations: 10 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.1933, allocations: 130.6 kB / 0.7709 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.1935, allocations: 0.6806 MB / 0.7715 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.1935, allocations: 0 / 0.7715 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.1936, allocations: 11.44 kB / 0.7716 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.1936, allocations: 0 / 0.7716 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.00253/0.1961, allocations: 0.5083 MB / 0.7721 GB, free: 2.234 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)