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.0007444/0.0007444, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005095/0.005096, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.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.001752/0.001752, allocations: 271 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004277, allocations: 16.16 kB / 0.5987 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1808, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00161/0.1825, allocations: 1.133 MB / 0.6862 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004846/0.183, allocations: 196.5 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.183, allocations: 1.562 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.183, allocations: 0 / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.1831, allocations: 7.922 kB / 0.6864 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.1833, allocations: 23.97 kB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.76e-05/0.1834, allocations: 20.91 kB / 0.6865 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1835, allocations: 15.39 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.1835, allocations: 11.92 kB / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.1836, allocations: 7.984 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1836, allocations: 0 / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.1837, allocations: 19.98 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.1837, allocations: 11.94 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.1838, allocations: 25.7 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.1839, allocations: 44.09 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1839, allocations: 0 / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1839, allocations: 0 / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1839, allocations: 0.5 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB 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.0004089/0.1843, allocations: 337.9 kB / 0.6869 GB, free: 13.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1844, allocations: 12.03 kB / 0.6869 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1845, allocations: 10.25 kB / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1846, allocations: 168.3 kB / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1846, allocations: 4.359 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1846, allocations: 384 / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1848, allocations: 56.17 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1848, allocations: 4.125 kB / 0.6872 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1849, allocations: 8.484 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1849, allocations: 7.938 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.1851, allocations: 43.88 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.1854, allocations: 245 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1855, allocations: 45.75 kB / 0.6875 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.1857, allocations: 28.91 kB / 0.6875 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1857, allocations: 2.438 kB / 0.6875 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1857, allocations: 34.5 kB / 0.6876 GB, free: 12.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1857, allocations: 0 / 0.6876 GB, free: 12.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003653/0.1861, allocations: 100.3 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1861, allocations: 52.56 kB / 0.6877 GB, free: 12.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.1862, allocations: 101.8 kB / 0.6878 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1862, allocations: 26.61 kB / 0.6878 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.1863, allocations: 84.08 kB / 0.6879 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.1863, allocations: 12.03 kB / 0.6879 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.1863, allocations: 9.719 kB / 0.6879 GB, free: 12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1865, allocations: 318.8 kB / 0.6882 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.339e-05/0.1866, allocations: 19.98 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.1867, allocations: 20.5 kB / 0.6883 GB, free: 11.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1869, allocations: 56.81 kB / 0.6883 GB, free: 11.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1869, allocations: 0 / 0.6883 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003113/0.1872, allocations: 85.52 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1872, allocations: 5.562 kB / 0.6884 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1872, allocations: 0 / 0.6884 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1873, allocations: 0 / 0.6884 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.1874, allocations: 11.98 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1874, allocations: 0 / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.1874, allocations: 16.02 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1874, allocations: 0 / 0.6884 GB, free: 11.46 MB / 494.1 MB 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.374e-05/0.1875, allocations: 115.1 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1876, allocations: 4 kB / 0.6886 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.1878, allocations: 92.7 kB / 0.6886 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1879, allocations: 0 / 0.6886 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1879, allocations: 0 / 0.6886 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1879, allocations: 4 kB / 0.6886 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1881, allocations: 161.5 kB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1881, allocations: 3.984 kB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.1881, allocations: 8 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1881, allocations: 8 kB / 0.6888 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1882, allocations: 0 / 0.6888 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1882, allocations: 0 / 0.6888 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1882, allocations: 0 / 0.6888 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.1884, allocations: 191.6 kB / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.1885, allocations: 81.02 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1885, allocations: 0 / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.1886, allocations: 11.98 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1886, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.1886, allocations: 8 kB / 0.6891 GB, free: 10.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.832e-05/0.1887, allocations: 79.28 kB / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1887, allocations: 0 / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.1889, allocations: 11.94 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB 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.0001168/0.189, allocations: 103.2 kB / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1893, allocations: 43.97 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1893, allocations: 4.062 kB / 0.6893 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.1894, allocations: 31.91 kB / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.1897, allocations: 12.62 kB / 0.6894 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.1901, allocations: 132.6 kB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.1905, allocations: 0.6809 MB / 0.6902 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.911e-05/0.1906, allocations: 0 / 0.6902 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1906, allocations: 7.438 kB / 0.6902 GB, free: 9.527 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1906, allocations: 3.938 kB / 0.6902 GB, free: 9.523 MB / 494.1 MB Notification: Performance of Templates: time 0.002484/0.1931, allocations: 430.2 kB / 0.6906 GB, free: 9.117 MB / 494.1 MB 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)