Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.000863/0.000863, allocations: 97.88 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.005382/0.005382, allocations: 171.8 kB / 16.27 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.4 MB / 222.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 17.83 kB / 0.6744 GB, free: 25.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1821, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001083/0.1832, allocations: 1.017 MB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.184, allocations: 0.5792 MB / 0.7896 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.184, allocations: 0 / 0.7896 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.1841, allocations: 4 kB / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.845e-05/0.1841, allocations: 11.92 kB / 0.7896 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.1844, allocations: 75.7 kB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.1844, allocations: 23.81 kB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.1845, allocations: 0 / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.1845, allocations: 7.984 kB / 0.7897 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.786e-05/0.1846, allocations: 11.92 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.1846, allocations: 0 / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1848, allocations: 151.7 kB / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.236e-06/0.1848, allocations: 4 kB / 0.7898 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.1849, allocations: 29.7 kB / 0.7899 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.185, allocations: 104 kB / 0.79 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.185, allocations: 0 / 0.79 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1851, allocations: 0 / 0.79 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1851, allocations: 0 / 0.79 GB, free: 9.449 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002847/0.1853, allocations: 339.5 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1854, allocations: 8.031 kB / 0.7903 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.82e-05/0.1854, allocations: 38.75 kB / 0.7903 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/0.1858, allocations: 24.91 kB / 0.7903 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.766e-05/0.1859, allocations: 168.4 kB / 0.7905 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1859, allocations: 384 / 0.7905 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1859, allocations: 384 / 0.7905 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1861, allocations: 50.17 kB / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1861, allocations: 3.938 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1861, allocations: 4 kB / 0.7906 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1861, allocations: 0 / 0.7906 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1862, allocations: 27.91 kB / 0.7906 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.1864, allocations: 153.7 kB / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1865, allocations: 46.58 kB / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.1866, allocations: 20.91 kB / 0.7908 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.1866, allocations: 3.984 kB / 0.7908 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.1866, allocations: 30.56 kB / 0.7908 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1866, allocations: 0 / 0.7908 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002675/0.1869, allocations: 81.62 kB / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1869, allocations: 51.41 kB / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.187, allocations: 97.86 kB / 0.7911 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.187, allocations: 25.7 kB / 0.7911 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.1871, allocations: 80.14 kB / 0.7912 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1871, allocations: 11.84 kB / 0.7912 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.1871, allocations: 13.7 kB / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.1872, allocations: 310.8 kB / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.1873, allocations: 16.02 kB / 0.7915 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.1873, allocations: 12 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1874, allocations: 28.83 kB / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1875, allocations: 0 / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001597/0.1876, allocations: 73.61 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1876, allocations: 7.938 kB / 0.7916 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1877, allocations: 0 / 0.7916 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.1877, allocations: 0 / 0.7916 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.1878, allocations: 11.98 kB / 0.7916 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.1878, allocations: 0 / 0.7916 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.1878, allocations: 4 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1878, allocations: 4 kB / 0.7916 GB, free: 7.5 MB / 0.6075 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 5.988e-05/0.1879, allocations: 114.5 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.1879, allocations: 7.844 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.188, allocations: 7.125 kB / 0.7918 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.188, allocations: 0 / 0.7918 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.188, allocations: 3.938 kB / 0.7918 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.188, allocations: 0 / 0.7918 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.517e-05/0.1881, allocations: 153.7 kB / 0.7919 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1881, allocations: 4 kB / 0.7919 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/0.1882, allocations: 7.984 kB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1882, allocations: 3.938 kB / 0.7919 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1882, allocations: 4 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1882, allocations: 0 / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1882, allocations: 3.938 kB / 0.7919 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.1884, allocations: 85.09 kB / 0.792 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.1884, allocations: 89.09 kB / 0.7921 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1885, allocations: 3.938 kB / 0.7921 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.763e-05/0.1885, allocations: 4 kB / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-06/0.1885, allocations: 0 / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1886, allocations: 0 / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.1886, allocations: 83.27 kB / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1886, allocations: 0 / 0.7922 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001845/0.1888, allocations: 8 kB / 0.7922 GB, free: 6.828 MB / 0.6075 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 (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 Backend phase and start with SimCode phase: time 0.000427/0.1892, allocations: 0.6358 MB / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.1894, allocations: 36 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1894, allocations: 0 / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.043e-05/0.1895, allocations: 15.98 kB / 0.7929 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.1896, allocations: 6.438 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.19, allocations: 170.2 kB / 0.793 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.1902, allocations: 0.677 MB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.031e-05/0.1903, allocations: 8 kB / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1904, allocations: 15.42 kB / 0.7937 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.1904, allocations: 0 / 0.7937 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2071/0.3974, allocations: 1.373 MB / 0.795 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.3977, allocations: 220.7 kB / 0.7953 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.034, allocations: 0 / 0.7953 GB, free: 3.73 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)