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.001077/0.001077, allocations: 97.64 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.006506/0.006507, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.399/1.399, 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/IDEAS 3.0.0-master/package.mo): time 0.9183/0.9183, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 8.719 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1709, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001304/0.1723, allocations: 0.9978 MB / 0.5891 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1733, allocations: 0.575 MB / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.1734, allocations: 0 / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.1734, allocations: 7.922 kB / 0.5896 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.1735, allocations: 0 / 0.5896 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.1739, allocations: 79.64 kB / 0.5897 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.174, allocations: 23.86 kB / 0.5897 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.1741, allocations: 0 / 0.5897 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.1741, allocations: 8 kB / 0.5897 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.1742, allocations: 15.92 kB / 0.5897 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1742, allocations: 0 / 0.5897 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.1745, allocations: 147.7 kB / 0.5899 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.1745, allocations: 3.984 kB / 0.5899 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.1746, allocations: 33.64 kB / 0.5899 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1748, allocations: 88.12 kB / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1748, allocations: 0 / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1748, allocations: 0 / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1748, allocations: 4 kB / 0.59 GB, free: 0.5117 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.0003998/0.1752, allocations: 347.4 kB / 0.5903 GB, free: 124 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1752, allocations: 8.031 kB / 0.5904 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.1753, allocations: 38.67 kB / 0.5904 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.1758, allocations: 28.91 kB / 0.5904 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1759, allocations: 160.4 kB / 0.5906 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1759, allocations: 4.375 kB / 0.5906 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.176, allocations: 384 / 0.5906 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.1762, allocations: 54.22 kB / 0.5906 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1762, allocations: 3.938 kB / 0.5906 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1762, allocations: 0 / 0.5906 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1762, allocations: 0 / 0.5906 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1764, allocations: 23.97 kB / 0.5907 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.1766, allocations: 161.7 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1767, allocations: 46.53 kB / 0.5909 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.1768, allocations: 16.91 kB / 0.5909 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1768, allocations: 0 / 0.5909 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1769, allocations: 34.56 kB / 0.5909 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.514e-06/0.1769, allocations: 4 kB / 0.5909 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000307/0.1772, allocations: 73.59 kB / 0.591 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1772, allocations: 55.34 kB / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.1773, allocations: 97.84 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1773, allocations: 29.64 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.1774, allocations: 84.14 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1774, allocations: 8.031 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.1774, allocations: 9.719 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1776, allocations: 314.8 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.1776, allocations: 11.98 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-05/0.1777, allocations: 11.98 kB / 0.5916 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1778, allocations: 32.91 kB / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1778, allocations: 0 / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.178, allocations: 65.59 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.178, allocations: 10.12 kB / 0.5917 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1781, allocations: 4 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1781, allocations: 0 / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.1782, allocations: 11.92 kB / 0.5917 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1782, allocations: 4.031 kB / 0.5917 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1783, allocations: 7.938 kB / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1783, allocations: 0 / 0.5917 GB, free: 14.55 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 8.838e-05/0.1784, allocations: 113.8 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.1784, allocations: 7.844 kB / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.1784, allocations: 7.109 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1784, allocations: 4 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1785, allocations: 0 / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1785, allocations: 0 / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1786, allocations: 157.7 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1786, allocations: 0 / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.1787, allocations: 7.984 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1787, allocations: 3.938 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1787, allocations: 0 / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1787, allocations: 0 / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1787, allocations: 0 / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1789, allocations: 89.08 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.179, allocations: 81.09 kB / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.179, allocations: 7.938 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.1791, allocations: 3.984 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.1791, allocations: 4 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1791, allocations: 4 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.1792, allocations: 79.31 kB / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1792, allocations: 0 / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002108/0.1794, allocations: 16 kB / 0.5923 GB, free: 13.88 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.0005665/0.18, allocations: 0.6436 MB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.1801, allocations: 31.91 kB / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1802, allocations: 0 / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.1802, allocations: 15.98 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1805, allocations: 8.125 kB / 0.5929 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.181, allocations: 162.1 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1813, allocations: 0.677 MB / 0.5938 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.876e-05/0.1814, allocations: 15.92 kB / 0.5938 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1814, allocations: 11.44 kB / 0.5938 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1815, allocations: 4 kB / 0.5938 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3597/0.5411, allocations: 1.35 MB / 0.5951 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003427/0.5415, allocations: 224.3 kB / 0.5953 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.383, allocations: 0 / 0.5953 GB, free: 10.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)