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.004738/0.004744, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001124/0.001125, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 271 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9555/0.9555, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 87.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1799, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002428/0.1823, allocations: 1.408 MB / 0.7677 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004531/0.1828, allocations: 195.5 kB / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.1828, allocations: 4 kB / 0.7679 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1829, allocations: 3.938 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.1829, allocations: 3.938 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.1831, allocations: 27.89 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.588e-05/0.1832, allocations: 23.94 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.1833, allocations: 7.984 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.1834, allocations: 11.94 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.612e-05/0.1834, allocations: 7.984 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1834, allocations: 0 / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.1835, allocations: 31.97 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.1835, allocations: 7.938 kB / 0.7681 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1836, allocations: 11.98 kB / 0.7681 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1837, allocations: 31.84 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1837, allocations: 0 / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1837, allocations: 0 / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1837, allocations: 0 / 0.7681 GB, free: 6.672 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.0004107/0.1841, allocations: 339.5 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1842, allocations: 12.03 kB / 0.7684 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1843, allocations: 4.938 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1844, allocations: 176.2 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1844, allocations: 384 / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1845, allocations: 384 / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1846, allocations: 58.11 kB / 0.7687 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1846, allocations: 4.125 kB / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1847, allocations: 3.938 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1847, allocations: 0 / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1848, allocations: 35.97 kB / 0.7687 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.1852, allocations: 253 kB / 0.7689 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1853, allocations: 42.44 kB / 0.769 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.1854, allocations: 20.91 kB / 0.769 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1854, allocations: 4 kB / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1855, allocations: 38.56 kB / 0.769 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1855, allocations: 0 / 0.769 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.1858, allocations: 81.64 kB / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.1859, allocations: 51.41 kB / 0.7692 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.186, allocations: 113.9 kB / 0.7693 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.186, allocations: 25.7 kB / 0.7693 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.186, allocations: 84.14 kB / 0.7694 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.186, allocations: 3.906 kB / 0.7694 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.1861, allocations: 17.7 kB / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.1862, allocations: 314.8 kB / 0.7697 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.1863, allocations: 15.98 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.1863, allocations: 15.98 kB / 0.7697 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.1865, allocations: 40.81 kB / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1865, allocations: 0 / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.1867, allocations: 69.59 kB / 0.7698 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1867, allocations: 4 kB / 0.7698 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1867, allocations: 96 / 0.7698 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1868, allocations: 4 kB / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.1868, allocations: 11.94 kB / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1869, allocations: 0 / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.1869, allocations: 11.98 kB / 0.7699 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1869, allocations: 0 / 0.7699 GB, free: 4.625 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 7.555e-05/0.187, allocations: 114.4 kB / 0.77 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.187, allocations: 3.906 kB / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.1873, allocations: 80.77 kB / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1873, allocations: 0 / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1873, allocations: 0 / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1873, allocations: 0 / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.1875, allocations: 165.5 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1875, allocations: 4 kB / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.1875, allocations: 11.92 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1875, allocations: 4 kB / 0.7702 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1876, allocations: 4 kB / 0.7702 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1876, allocations: 3.938 kB / 0.7702 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1876, allocations: 0 / 0.7702 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1878, allocations: 163.5 kB / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.1878, allocations: 89.05 kB / 0.7705 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.1879, allocations: 0 / 0.7705 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.1879, allocations: 11.98 kB / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.188, allocations: 0 / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.188, allocations: 0 / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.188, allocations: 83.27 kB / 0.7706 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.188, allocations: 0 / 0.7706 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000211/0.1882, allocations: 8 kB / 0.7706 GB, free: 3.797 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.0001059/0.1884, allocations: 99.25 kB / 0.7707 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.1886, allocations: 43.89 kB / 0.7707 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1886, allocations: 0 / 0.7707 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.1887, allocations: 23.98 kB / 0.7707 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.1889, allocations: 3.938 kB / 0.7707 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.1892, allocations: 122.6 kB / 0.7709 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1894, allocations: 0.6806 MB / 0.7715 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.523e-05/0.1895, allocations: 4.062 kB / 0.7715 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.1895, allocations: 7.438 kB / 0.7715 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1895, allocations: 4 kB / 0.7715 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of Templates: time 0.002222/0.1917, allocations: 0.5231 MB / 0.7721 GB, free: 2.238 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)