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.009337/0.009337, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001837/0.001837, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7503/0.7503, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.39 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002294/0.1671, allocations: 1.254 MB / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004856/0.1676, allocations: 237.8 kB / 0.6607 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.1676, allocations: 0 / 0.6607 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.1677, allocations: 0 / 0.6607 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.1677, allocations: 4 kB / 0.6607 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.168, allocations: 47.77 kB / 0.6607 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.458e-05/0.1681, allocations: 11.98 kB / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.1681, allocations: 11.98 kB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.1681, allocations: 7.938 kB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.1682, allocations: 7.984 kB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1682, allocations: 0 / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1683, allocations: 47.95 kB / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1683, allocations: 0 / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.1684, allocations: 19.91 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.1685, allocations: 40.19 kB / 0.6609 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1685, allocations: 0 / 0.6609 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1685, allocations: 0 / 0.6609 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1685, allocations: 0 / 0.6609 GB, free: 12.34 MB / 0.4981 GB 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.0003886/0.1689, allocations: 337.8 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.169, allocations: 8.031 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.169, allocations: 38.69 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1691, allocations: 20.81 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.123e-05/0.1692, allocations: 164.4 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1693, allocations: 4.359 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1693, allocations: 4.375 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1694, allocations: 49.98 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1694, allocations: 4 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1694, allocations: 0 / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1694, allocations: 0 / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.1695, allocations: 15.94 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.1696, allocations: 165.7 kB / 0.6616 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.1698, allocations: 42.56 kB / 0.6617 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.1698, allocations: 16.98 kB / 0.6617 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.1698, allocations: 4 kB / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1699, allocations: 38.48 kB / 0.6617 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1699, allocations: 0 / 0.6617 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001996/0.1719, allocations: 498.2 kB / 0.6622 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1719, allocations: 55.34 kB / 0.6623 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.602e-05/0.172, allocations: 93.86 kB / 0.6623 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.172, allocations: 29.7 kB / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.172, allocations: 80.14 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/0.1721, allocations: 31.73 kB / 0.6625 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.1722, allocations: 21.72 kB / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.1723, allocations: 314.8 kB / 0.6628 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.1723, allocations: 24 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.1724, allocations: 23.98 kB / 0.6628 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1725, allocations: 56.86 kB / 0.6629 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1725, allocations: 192 / 0.6629 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001573/0.1726, allocations: 101.5 kB / 0.663 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1727, allocations: 4 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1727, allocations: 0 / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1727, allocations: 7.984 kB / 0.663 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1728, allocations: 20.38 kB / 0.663 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1729, allocations: 0 / 0.663 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.1729, allocations: 0 / 0.663 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1729, allocations: 7.938 kB / 0.663 GB, free: 9.828 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 (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.94e-05/0.173, allocations: 118.5 kB / 0.6631 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.173, allocations: 3.938 kB / 0.6631 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.1731, allocations: 19.95 kB / 0.6632 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1731, allocations: 0 / 0.6632 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1731, allocations: 0 / 0.6632 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1731, allocations: 0 / 0.6632 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.1733, allocations: 175.5 kB / 0.6633 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1733, allocations: 3.938 kB / 0.6633 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.1734, allocations: 12 kB / 0.6634 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1734, allocations: 4 kB / 0.6634 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1734, allocations: 4 kB / 0.6634 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1734, allocations: 0 / 0.6634 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1735, allocations: 0 / 0.6634 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1737, allocations: 141 kB / 0.6635 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.1737, allocations: 93.02 kB / 0.6636 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1738, allocations: 4 kB / 0.6636 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1739, allocations: 4 kB / 0.6636 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.1739, allocations: 8.047 kB / 0.6636 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1739, allocations: 4 kB / 0.6636 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.282e-05/0.1739, allocations: 75.28 kB / 0.6637 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 0 / 0.6637 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001954/0.1741, allocations: 16 kB / 0.6637 GB, free: 9.047 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 (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.0005632/0.1747, allocations: 0.6828 MB / 0.6644 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.1749, allocations: 67.94 kB / 0.6644 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1749, allocations: 0 / 0.6644 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.1749, allocations: 28 kB / 0.6644 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.1752, allocations: 16.36 kB / 0.6645 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.1766, allocations: 1.279 MB / 0.6657 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1769, allocations: 0.6807 MB / 0.6664 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.937e-05/0.177, allocations: 11.98 kB / 0.6664 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.177, allocations: 15.44 kB / 0.6664 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of SimCode: time 1.512e-06/0.177, allocations: 0 / 0.6664 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2002, allocations: 1.627 MB / 0.668 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.868, allocations: 19.78 kB / 0.668 GB, free: 4.691 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)