Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001016/0.001016, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00796/0.00796, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.584/1.584, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.047/1.047, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 12.5 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1718, allocations: 82.3 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001317/0.1731, allocations: 1.006 MB / 0.5891 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1741, allocations: 0.6413 MB / 0.5897 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.1742, allocations: 0 / 0.5897 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1742, allocations: 4 kB / 0.5897 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.234e-05/0.1742, allocations: 11.92 kB / 0.5897 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1747, allocations: 95.67 kB / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.1747, allocations: 23.88 kB / 0.5898 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.1748, allocations: 0 / 0.5898 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.1748, allocations: 15.86 kB / 0.5898 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.1748, allocations: 15.98 kB / 0.5899 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1749, allocations: 0 / 0.5899 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.1751, allocations: 147.7 kB / 0.59 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.1751, allocations: 12 kB / 0.59 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.1752, allocations: 33.64 kB / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1754, allocations: 100 kB / 0.5901 GB, free: 416 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.1754, allocations: 0 / 0.5901 GB, free: 416 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1754, allocations: 0 / 0.5901 GB, free: 416 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1754, allocations: 0 / 0.5901 GB, free: 416 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003907/0.1758, allocations: 351.4 kB / 0.5905 GB, free: 12 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1759, allocations: 12.03 kB / 0.5905 GB, free: 0 / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.1759, allocations: 30.75 kB / 0.5905 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.1763, allocations: 32.89 kB / 0.5905 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.1764, allocations: 164.3 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.1764, allocations: 4.375 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1764, allocations: 4.375 kB / 0.5907 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1766, allocations: 58.2 kB / 0.5908 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1766, allocations: 7.938 kB / 0.5908 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1766, allocations: 0 / 0.5908 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1766, allocations: 0 / 0.5908 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1768, allocations: 27.97 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1769, allocations: 161.7 kB / 0.591 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.1772, allocations: 74.52 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.1773, allocations: 24.94 kB / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.1773, allocations: 4 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1774, allocations: 30.56 kB / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1774, allocations: 0 / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003181/0.1806, allocations: 0.5798 MB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1806, allocations: 55.34 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.35e-05/0.1807, allocations: 101.9 kB / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1807, allocations: 29.73 kB / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.1807, allocations: 80.14 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1808, allocations: 23.7 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.1808, allocations: 9.719 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.1809, allocations: 314.8 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.181, allocations: 39.91 kB / 0.5923 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1812, allocations: 39.97 kB / 0.5923 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.1814, allocations: 80.81 kB / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1814, allocations: 0 / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003258/0.1818, allocations: 125.7 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1818, allocations: 10.5 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1818, allocations: 3.984 kB / 0.5925 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1818, allocations: 336 / 0.5925 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.182, allocations: 27.91 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.182, allocations: 4 kB / 0.5926 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1822, allocations: 4 kB / 0.5926 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1822, allocations: 7.984 kB / 0.5926 GB, free: 13.64 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 (7): * Single equations (assignments): 7 * 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 7.982e-05/0.1823, allocations: 113.8 kB / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1823, allocations: 7.844 kB / 0.5927 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.1824, allocations: 19.95 kB / 0.5927 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1824, allocations: 0 / 0.5927 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1824, allocations: 4.062 kB / 0.5927 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1824, allocations: 0 / 0.5927 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1826, allocations: 183.7 kB / 0.5929 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1826, allocations: 0 / 0.5929 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.1828, allocations: 23.91 kB / 0.5929 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1828, allocations: 4 kB / 0.5929 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.1828, allocations: 7.984 kB / 0.5929 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1828, allocations: 0 / 0.5929 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1828, allocations: 4 kB / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.1833, allocations: 189 kB / 0.5931 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.1834, allocations: 93.02 kB / 0.5932 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1834, allocations: 3.938 kB / 0.5932 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.1836, allocations: 11.98 kB / 0.5932 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.1836, allocations: 0 / 0.5932 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1836, allocations: 7.984 kB / 0.5932 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.1837, allocations: 75.28 kB / 0.5933 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1837, allocations: 0 / 0.5933 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002272/0.1839, allocations: 39.88 kB / 0.5933 GB, free: 12.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.000856/0.1848, allocations: 0.753 MB / 0.5941 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.1851, allocations: 83.92 kB / 0.5941 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1851, allocations: 0 / 0.5941 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1852, allocations: 51.97 kB / 0.5942 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.1855, allocations: 7.984 kB / 0.5942 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.1877, allocations: 1.357 MB / 0.5955 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.1879, allocations: 0.6809 MB / 0.5962 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.1881, allocations: 32.33 kB / 0.5962 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.1882, allocations: 19.42 kB / 0.5962 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1882, allocations: 0 / 0.5962 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.317/0.5053, allocations: 2.238 MB / 0.5984 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003323/0.5056, allocations: 255.4 kB / 0.5987 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.608, allocations: 11.88 kB / 0.5987 GB, free: 7.387 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)