Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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 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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_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.001152/0.001152, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9637/0.9637, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 59.81 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.179, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.004075/0.1832, allocations: 1.4 MB / 0.5858 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1843, allocations: 0.5905 MB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.1844, allocations: 0 / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.1844, allocations: 3.938 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.1845, allocations: 11.92 kB / 0.5864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.185, allocations: 91.58 kB / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.1851, allocations: 23.92 kB / 0.5865 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1853, allocations: 4 kB / 0.5865 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.089e-05/0.1853, allocations: 23.91 kB / 0.5866 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.1854, allocations: 8 kB / 0.5866 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1854, allocations: 4 kB / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.1858, allocations: 143.8 kB / 0.5867 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.1858, allocations: 7.922 kB / 0.5867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1858, allocations: 7.984 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.1861, allocations: 104 kB / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1862, allocations: 0 / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1862, allocations: 0 / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.1862, allocations: 4 kB / 0.5868 GB, free: 2.016 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.0006453/0.1868, allocations: 359.4 kB / 0.5872 GB, free: 1.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.1869, allocations: 12.03 kB / 0.5872 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.1869, allocations: 30.75 kB / 0.5872 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.1874, allocations: 24.91 kB / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1876, allocations: 168.3 kB / 0.5874 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1876, allocations: 4.312 kB / 0.5874 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1876, allocations: 4.375 kB / 0.5874 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1879, allocations: 74.14 kB / 0.5875 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1879, allocations: 3.938 kB / 0.5875 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1879, allocations: 3.984 kB / 0.5875 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1879, allocations: 0 / 0.5875 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.1882, allocations: 59.94 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.1887, allocations: 280.8 kB / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.189, allocations: 54.48 kB / 0.5879 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1891, allocations: 36.89 kB / 0.5879 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1891, allocations: 3.938 kB / 0.5879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1892, allocations: 34.55 kB / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.1892, allocations: 0 / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005325/0.1897, allocations: 113.6 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1898, allocations: 51.41 kB / 0.5881 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.1899, allocations: 97.86 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1899, allocations: 25.7 kB / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.1899, allocations: 84.12 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.19, allocations: 11.91 kB / 0.5883 GB, free: 304 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.19, allocations: 13.84 kB / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1901, allocations: 318.8 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1903, allocations: 23.97 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1904, allocations: 31.91 kB / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1907, allocations: 56.88 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1907, allocations: 7.938 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003286/0.191, allocations: 85.62 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.191, allocations: 8.031 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1911, allocations: 0 / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1911, allocations: 0 / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1912, allocations: 11.98 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1912, allocations: 0 / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.1913, allocations: 11.98 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1914, allocations: 0 / 0.5888 GB, free: 15.71 MB / 0.4981 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 9.204e-05/0.1915, allocations: 125.7 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.1915, allocations: 7.906 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.1916, allocations: 11.09 kB / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1916, allocations: 0 / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1916, allocations: 0 / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1916, allocations: 0 / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.1918, allocations: 169.6 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1918, allocations: 0 / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1919, allocations: 15.98 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1919, allocations: 3.938 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1919, allocations: 3.984 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1919, allocations: 0 / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1919, allocations: 0 / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.1923, allocations: 187.4 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.1923, allocations: 81.09 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1924, allocations: 0 / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1925, allocations: 11.98 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1925, allocations: 3.938 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.1926, allocations: 4 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.1926, allocations: 79.28 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1926, allocations: 0 / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002487/0.1929, allocations: 28.02 kB / 0.5895 GB, free: 14.9 MB / 0.4981 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.0006973/0.1936, allocations: 0.7241 MB / 0.5902 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.1939, allocations: 59.88 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1939, allocations: 0 / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.194, allocations: 27.97 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1944, allocations: 10.61 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006486/0.195, allocations: 176.1 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.1953, allocations: 0.6729 MB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.665e-05/0.1954, allocations: 12.33 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.1954, allocations: 15.42 kB / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1954, allocations: 0 / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.2148, allocations: 1.625 MB / 0.5928 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.773, allocations: 15.72 kB / 0.5928 GB, free: 11.58 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)