Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_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.001177/0.001177, 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.001323/0.001323, allocations: 195.6 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9529/0.9529, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002612, allocations: 62.8 kB / 0.5055 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1718, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002541/0.1743, allocations: 1.267 MB / 0.5857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.1753, allocations: 0.5749 MB / 0.5863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.1754, allocations: 0 / 0.5863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1754, allocations: 0 / 0.5863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.1754, allocations: 7.938 kB / 0.5863 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1759, allocations: 103.5 kB / 0.5864 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.176, allocations: 15.88 kB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.176, allocations: 0 / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.1761, allocations: 4 kB / 0.5864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.1761, allocations: 15.92 kB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1761, allocations: 0 / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.1764, allocations: 143.8 kB / 0.5866 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.1764, allocations: 0 / 0.5866 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1765, allocations: 11.94 kB / 0.5866 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1767, allocations: 92.06 kB / 0.5867 GB, free: 2.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1767, allocations: 0 / 0.5867 GB, free: 2.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1767, allocations: 0 / 0.5867 GB, free: 2.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1767, allocations: 0 / 0.5867 GB, free: 2.227 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.0003834/0.1771, allocations: 351.4 kB / 0.587 GB, free: 1.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1771, allocations: 8.031 kB / 0.587 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.1772, allocations: 30.75 kB / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.1776, allocations: 32.89 kB / 0.5871 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1777, allocations: 160.4 kB / 0.5872 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1778, allocations: 8.375 kB / 0.5872 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.1778, allocations: 384 / 0.5872 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1779, allocations: 46.22 kB / 0.5873 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.178, allocations: 3.938 kB / 0.5873 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.178, allocations: 3.938 kB / 0.5873 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.178, allocations: 7.922 kB / 0.5873 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1781, allocations: 27.97 kB / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.1783, allocations: 161.7 kB / 0.5875 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1785, allocations: 42.59 kB / 0.5875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.1785, allocations: 16.91 kB / 0.5875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1786, allocations: 4 kB / 0.5875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1786, allocations: 34.56 kB / 0.5876 GB, free: 1.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1786, allocations: 0 / 0.5876 GB, free: 1.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003649/0.179, allocations: 77.53 kB / 0.5876 GB, free: 1.051 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.179, allocations: 55.53 kB / 0.5877 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.1791, allocations: 97.84 kB / 0.5878 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1791, allocations: 25.7 kB / 0.5878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.1792, allocations: 80.14 kB / 0.5879 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.1792, allocations: 7.906 kB / 0.5879 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.1793, allocations: 17.7 kB / 0.5879 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1794, allocations: 314.8 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.1795, allocations: 19.98 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.1796, allocations: 7.984 kB / 0.5882 GB, free: 400 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1797, allocations: 36.78 kB / 0.5883 GB, free: 360 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1797, allocations: 0 / 0.5883 GB, free: 360 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001854/0.1799, allocations: 61.64 kB / 0.5883 GB, free: 292 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1799, allocations: 7.938 kB / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.18, allocations: 7.938 kB / 0.5883 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.18, allocations: 0 / 0.5883 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1801, allocations: 7.984 kB / 0.5883 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1801, allocations: 0 / 0.5883 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.1802, allocations: 7.938 kB / 0.5883 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1802, allocations: 3.984 kB / 0.5884 GB, free: 256 kB / 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.124e-05/0.1803, allocations: 113.9 kB / 0.5885 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.1803, allocations: 7.938 kB / 0.5885 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.1803, allocations: 3.125 kB / 0.5885 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1804, allocations: 0 / 0.5885 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1804, allocations: 0 / 0.5885 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1804, allocations: 0 / 0.5885 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1805, allocations: 157.7 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1805, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.041e-05/0.1806, allocations: 15.92 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1806, allocations: 7.938 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1806, allocations: 0 / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1807, allocations: 3.984 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1807, allocations: 0 / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.1809, allocations: 89.05 kB / 0.5887 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.181, allocations: 81.09 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.181, allocations: 3.938 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/0.1811, allocations: 8 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.1811, allocations: 0 / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1811, allocations: 0 / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.1812, allocations: 83.27 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1812, allocations: 0 / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.1814, allocations: 16 kB / 0.5889 GB, free: 15.57 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.0005949/0.182, allocations: 0.6318 MB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1822, allocations: 36 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1822, allocations: 0 / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.1823, allocations: 19.92 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1826, allocations: 11.97 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.1831, allocations: 156.2 kB / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1834, allocations: 0.669 MB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.648e-05/0.1835, allocations: 8.328 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.1836, allocations: 19.42 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1836, allocations: 0 / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.2009, allocations: 1.545 MB / 0.5919 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.493, allocations: 11.75 kB / 0.5919 GB, free: 12.51 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)