Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.001164/0.001164, 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.001399/0.001399, allocations: 191.9 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.362/1.362, 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.7656/0.7656, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 60.14 kB / 0.5019 GB, free: 8.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.161, allocations: 80.2 MB / 0.5802 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002388/0.1634, allocations: 1.247 MB / 0.5814 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000473/0.1639, allocations: 243.2 kB / 0.5817 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.164, allocations: 0 / 0.5817 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.164, allocations: 0 / 0.5817 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.164, allocations: 3.984 kB / 0.5817 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1643, allocations: 43.77 kB / 0.5817 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.264e-05/0.1644, allocations: 11.98 kB / 0.5817 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.1644, allocations: 8 kB / 0.5817 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.249e-05/0.1645, allocations: 8 kB / 0.5817 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.1645, allocations: 11.92 kB / 0.5817 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1646, allocations: 3.984 kB / 0.5818 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1647, allocations: 51.95 kB / 0.5818 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1647, allocations: 4 kB / 0.5818 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.1647, allocations: 0 / 0.5818 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.1648, allocations: 48.16 kB / 0.5819 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1649, allocations: 0 / 0.5819 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1649, allocations: 0 / 0.5819 GB, free: 6.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1649, allocations: 0 / 0.5819 GB, free: 6.988 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003551/0.1652, allocations: 339.5 kB / 0.5822 GB, free: 6.605 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1653, allocations: 12.03 kB / 0.5822 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1653, allocations: 34.69 kB / 0.5822 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.1654, allocations: 16.83 kB / 0.5822 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/0.1655, allocations: 160.4 kB / 0.5824 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.1656, allocations: 384 / 0.5824 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1656, allocations: 8.375 kB / 0.5824 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1657, allocations: 50.23 kB / 0.5824 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1657, allocations: 3.938 kB / 0.5824 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1657, allocations: 0 / 0.5824 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1657, allocations: 0 / 0.5824 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.1658, allocations: 12 kB / 0.5825 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.166, allocations: 161.7 kB / 0.5826 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.1661, allocations: 42.56 kB / 0.5827 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.1661, allocations: 24.92 kB / 0.5827 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1661, allocations: 4 kB / 0.5827 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1661, allocations: 30.56 kB / 0.5827 GB, free: 5.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1661, allocations: 0 / 0.5827 GB, free: 5.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002006/0.1682, allocations: 0.5019 MB / 0.5832 GB, free: 5.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1682, allocations: 51.41 kB / 0.5833 GB, free: 5.316 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.193e-05/0.1682, allocations: 93.8 kB / 0.5833 GB, free: 5.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1683, allocations: 29.7 kB / 0.5834 GB, free: 5.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.1683, allocations: 80.14 kB / 0.5834 GB, free: 5.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.1684, allocations: 35.53 kB / 0.5835 GB, free: 5.062 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1684, allocations: 25.72 kB / 0.5835 GB, free: 5.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1685, allocations: 314.8 kB / 0.5838 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.1686, allocations: 24 kB / 0.5838 GB, free: 4.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.1686, allocations: 24.42 kB / 0.5838 GB, free: 4.668 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.649e-05/0.1687, allocations: 52.86 kB / 0.5839 GB, free: 4.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1687, allocations: 0 / 0.5839 GB, free: 4.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001459/0.1689, allocations: 93.56 kB / 0.584 GB, free: 4.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1689, allocations: 4 kB / 0.584 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1689, allocations: 4 kB / 0.584 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1689, allocations: 8 kB / 0.584 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1691, allocations: 19.98 kB / 0.584 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1691, allocations: 3.938 kB / 0.584 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.1691, allocations: 0 / 0.584 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1692, allocations: 4 kB / 0.584 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 (9): * Single equations (assignments): 9 * 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.811e-05/0.1692, allocations: 110.8 kB / 0.5841 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.1693, allocations: 11.84 kB / 0.5841 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.1693, allocations: 11.97 kB / 0.5842 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1693, allocations: 7.922 kB / 0.5842 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1693, allocations: 7.984 kB / 0.5842 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1693, allocations: 0 / 0.5842 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1695, allocations: 175.3 kB / 0.5843 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1695, allocations: 4 kB / 0.5843 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1696, allocations: 15.94 kB / 0.5844 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1696, allocations: 0 / 0.5844 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1696, allocations: 3.938 kB / 0.5844 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1696, allocations: 0 / 0.5844 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1696, allocations: 0 / 0.5844 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1699, allocations: 149 kB / 0.5845 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.1699, allocations: 89.06 kB / 0.5846 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.1699, allocations: 4 kB / 0.5846 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1701, allocations: 4 kB / 0.5846 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.1701, allocations: 4 kB / 0.5846 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1701, allocations: 3.984 kB / 0.5846 GB, free: 3.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.572e-05/0.1701, allocations: 77.05 kB / 0.5847 GB, free: 3.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1701, allocations: 0 / 0.5847 GB, free: 3.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001913/0.1703, allocations: 20.06 kB / 0.5847 GB, free: 3.695 MB / 494.1 MB 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 (8): * Single equations (assignments): 8 * 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.0004794/0.1708, allocations: 0.6787 MB / 0.5854 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.171, allocations: 63.91 kB / 0.5854 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.171, allocations: 4 kB / 0.5854 GB, free: 2.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.1711, allocations: 28 kB / 0.5855 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1713, allocations: 16.23 kB / 0.5855 GB, free: 2.879 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1725, allocations: 1.275 MB / 0.5867 GB, free: 1.523 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1727, allocations: 0.6807 MB / 0.5874 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.088e-05/0.1728, allocations: 8 kB / 0.5874 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.1729, allocations: 7.438 kB / 0.5874 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1729, allocations: 4 kB / 0.5874 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.1899, allocations: 1.602 MB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/7.795, allocations: 11.41 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)