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.001165/0.001165, 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.001214/0.001214, allocations: 194.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.366/1.366, 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.9599/0.9599, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 60.5 kB / 0.5055 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1604, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002865/0.1633, allocations: 1.275 MB / 0.5857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1645, allocations: 0.645 MB / 0.5864 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.1646, allocations: 0 / 0.5864 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.1646, allocations: 0 / 0.5864 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.1647, allocations: 7.922 kB / 0.5864 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.1652, allocations: 107.5 kB / 0.5865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.1653, allocations: 27.91 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.1653, allocations: 4 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.1654, allocations: 15.92 kB / 0.5865 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.1654, allocations: 4 kB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1655, allocations: 4 kB / 0.5865 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.1658, allocations: 147.7 kB / 0.5867 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1658, allocations: 4 kB / 0.5867 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.1658, allocations: 19.92 kB / 0.5867 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.1661, allocations: 100 kB / 0.5868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1661, allocations: 0 / 0.5868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1661, allocations: 0 / 0.5868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1661, allocations: 0 / 0.5868 GB, free: 2.078 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004879/0.1666, allocations: 355.4 kB / 0.5871 GB, free: 1.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1666, allocations: 8.031 kB / 0.5871 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.1667, allocations: 30.75 kB / 0.5872 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.1671, allocations: 28.91 kB / 0.5872 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1673, allocations: 168.4 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1673, allocations: 4.312 kB / 0.5873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1673, allocations: 4.375 kB / 0.5874 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1675, allocations: 58.2 kB / 0.5874 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1675, allocations: 3.938 kB / 0.5874 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1676, allocations: 4 kB / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1676, allocations: 0 / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.1677, allocations: 27.97 kB / 0.5874 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.1679, allocations: 169.7 kB / 0.5876 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.1683, allocations: 70.47 kB / 0.5877 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.1684, allocations: 28.94 kB / 0.5877 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1684, allocations: 0 / 0.5877 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1684, allocations: 34.5 kB / 0.5877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1684, allocations: 0 / 0.5877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003606/0.1721, allocations: 0.5837 MB / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1721, allocations: 51.41 kB / 0.5884 GB, free: 236 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.1722, allocations: 101.8 kB / 0.5884 GB, free: 124 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.1723, allocations: 25.7 kB / 0.5885 GB, free: 92 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.1723, allocations: 84.27 kB / 0.5886 GB, free: 4 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.1724, allocations: 19.89 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.1725, allocations: 25.69 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1726, allocations: 314.8 kB / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1728, allocations: 39.91 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1729, allocations: 39.97 kB / 0.589 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.1732, allocations: 76.81 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1732, allocations: 4 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003773/0.1736, allocations: 129.5 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1736, allocations: 4 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1737, allocations: 0 / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1737, allocations: 0 / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.1739, allocations: 27.91 kB / 0.5892 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1739, allocations: 0 / 0.5892 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1741, allocations: 7.984 kB / 0.5892 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1741, allocations: 3.984 kB / 0.5892 GB, free: 15.3 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 0.0001004/0.1742, allocations: 117.8 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.1742, allocations: 3.938 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.1743, allocations: 11.97 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1743, allocations: 4 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1743, allocations: 0 / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1744, allocations: 0 / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.1745, allocations: 187.7 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1746, allocations: 0 / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.1748, allocations: 27.91 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1748, allocations: 336 / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1748, allocations: 3.984 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1748, allocations: 3.938 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1748, allocations: 3.938 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.1754, allocations: 193 kB / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1755, allocations: 92.92 kB / 0.5898 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1755, allocations: 8.188 kB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1757, allocations: 8.031 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.1758, allocations: 11.98 kB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1758, allocations: 3.984 kB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.1758, allocations: 79.28 kB / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.1758, allocations: 0 / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002661/0.1761, allocations: 31.94 kB / 0.59 GB, free: 14.42 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.001022/0.1771, allocations: 0.757 MB / 0.5907 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.1776, allocations: 87.92 kB / 0.5908 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1776, allocations: 0 / 0.5908 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1777, allocations: 47.91 kB / 0.5908 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.178, allocations: 14.88 kB / 0.5909 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.1801, allocations: 1.348 MB / 0.5922 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1804, allocations: 0.6768 MB / 0.5928 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.1806, allocations: 32.02 kB / 0.5929 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.1807, allocations: 19.42 kB / 0.5929 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1807, allocations: 0 / 0.5929 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.202, allocations: 2.456 MB / 0.5953 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.676, allocations: 5.156 kB / 0.5953 GB, free: 9.035 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)