Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_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.001675/0.001675, allocations: 108 kB / 15.6 MB, free: 132 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.002115/0.002115, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.487/1.487, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 65.83 kB / 0.5019 GB, free: 8.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1847, allocations: 80.21 MB / 0.5802 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002648/0.1874, allocations: 1.275 MB / 0.5814 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009783/0.1884, allocations: 0.5789 MB / 0.582 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.1884, allocations: 0 / 0.582 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.1885, allocations: 0 / 0.582 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.1885, allocations: 11.94 kB / 0.582 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.189, allocations: 95.55 kB / 0.5821 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.1891, allocations: 15.88 kB / 0.5821 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.1891, allocations: 4 kB / 0.5821 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.1892, allocations: 7.938 kB / 0.5821 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.1892, allocations: 11.92 kB / 0.5821 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1892, allocations: 4 kB / 0.5822 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.1895, allocations: 135.8 kB / 0.5823 GB, free: 6.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.1896, allocations: 3.984 kB / 0.5823 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.1896, allocations: 11.94 kB / 0.5823 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1898, allocations: 92.12 kB / 0.5824 GB, free: 6.449 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1898, allocations: 0 / 0.5824 GB, free: 6.449 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1898, allocations: 0 / 0.5824 GB, free: 6.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1898, allocations: 0 / 0.5824 GB, free: 6.449 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000461/0.1903, allocations: 347.4 kB / 0.5827 GB, free: 6.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1904, allocations: 8.031 kB / 0.5827 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.1904, allocations: 30.75 kB / 0.5828 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004612/0.1909, allocations: 36.83 kB / 0.5828 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.191, allocations: 164.3 kB / 0.5829 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.191, allocations: 4.375 kB / 0.5829 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1911, allocations: 384 / 0.5829 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1913, allocations: 50.22 kB / 0.583 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1913, allocations: 3.938 kB / 0.583 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1913, allocations: 0 / 0.583 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1913, allocations: 4 kB / 0.583 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1915, allocations: 19.98 kB / 0.583 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.1917, allocations: 161.7 kB / 0.5832 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1919, allocations: 42.53 kB / 0.5832 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.14e-05/0.1919, allocations: 20.91 kB / 0.5832 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.192, allocations: 7.938 kB / 0.5832 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.192, allocations: 30.56 kB / 0.5833 GB, free: 5.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.192, allocations: 0 / 0.5833 GB, free: 5.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.1924, allocations: 73.72 kB / 0.5833 GB, free: 5.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.1924, allocations: 55.41 kB / 0.5834 GB, free: 5.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.1925, allocations: 109.8 kB / 0.5835 GB, free: 5.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1926, allocations: 25.7 kB / 0.5835 GB, free: 5.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.1926, allocations: 80.14 kB / 0.5836 GB, free: 4.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.1927, allocations: 7.891 kB / 0.5836 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1927, allocations: 17.7 kB / 0.5836 GB, free: 4.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1929, allocations: 318.8 kB / 0.5839 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.1929, allocations: 15.98 kB / 0.5839 GB, free: 4.621 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.193, allocations: 8 kB / 0.584 GB, free: 4.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1931, allocations: 32.83 kB / 0.584 GB, free: 4.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1932, allocations: 0 / 0.584 GB, free: 4.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.1934, allocations: 61.73 kB / 0.584 GB, free: 4.512 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.1934, allocations: 7.938 kB / 0.5841 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1934, allocations: 4 kB / 0.5841 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1934, allocations: 3.938 kB / 0.5841 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1935, allocations: 7.984 kB / 0.5841 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1936, allocations: 0 / 0.5841 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.1936, allocations: 15.84 kB / 0.5841 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1937, allocations: 0 / 0.5841 GB, free: 4.473 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.965e-05/0.1937, allocations: 118.5 kB / 0.5842 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.1938, allocations: 7.938 kB / 0.5842 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.1938, allocations: 7.125 kB / 0.5842 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1938, allocations: 0 / 0.5842 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1938, allocations: 0 / 0.5842 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1939, allocations: 0 / 0.5842 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.194, allocations: 153.6 kB / 0.5844 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.194, allocations: 0 / 0.5844 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.1941, allocations: 19.98 kB / 0.5844 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1941, allocations: 3.938 kB / 0.5844 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1941, allocations: 0 / 0.5844 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1941, allocations: 0 / 0.5844 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1941, allocations: 0 / 0.5844 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1944, allocations: 93.03 kB / 0.5845 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.1945, allocations: 81.09 kB / 0.5845 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1945, allocations: 3.938 kB / 0.5845 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.1946, allocations: 4 kB / 0.5846 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.1946, allocations: 0 / 0.5846 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1946, allocations: 0 / 0.5846 GB, free: 3.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.291e-05/0.1946, allocations: 87.2 kB / 0.5846 GB, free: 3.805 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1947, allocations: 0 / 0.5846 GB, free: 3.805 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1949, allocations: 12 kB / 0.5846 GB, free: 3.793 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 (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.0005867/0.1955, allocations: 0.632 MB / 0.5853 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.1957, allocations: 35.94 kB / 0.5853 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1957, allocations: 0 / 0.5853 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.1958, allocations: 15.98 kB / 0.5853 GB, free: 3.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.196, allocations: 7.5 kB / 0.5853 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.1965, allocations: 154.3 kB / 0.5855 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1968, allocations: 0.6768 MB / 0.5861 GB, free: 2.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.81e-05/0.1969, allocations: 11.98 kB / 0.5861 GB, free: 2.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.1969, allocations: 15.42 kB / 0.5862 GB, free: 2.164 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1969, allocations: 7.875 kB / 0.5862 GB, free: 2.156 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.2173, allocations: 1.53 MB / 0.5877 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.516, allocations: 10.83 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)