Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001569/0.001569, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.00163/0.001631, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8452/0.8452, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 68.31 kB / 0.5736 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1752, allocations: 78.87 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002475/0.1777, allocations: 1.239 MB / 0.6518 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005606/0.1783, allocations: 235.5 kB / 0.652 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.1783, allocations: 4 kB / 0.652 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.1784, allocations: 0 / 0.652 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.1784, allocations: 0 / 0.652 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.1788, allocations: 55.75 kB / 0.6521 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.478e-05/0.1789, allocations: 12 kB / 0.6521 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.179, allocations: 7.969 kB / 0.6521 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.179, allocations: 11.94 kB / 0.6521 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.1791, allocations: 0 / 0.6521 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1791, allocations: 4 kB / 0.6521 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1792, allocations: 47.95 kB / 0.6521 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.1793, allocations: 3.984 kB / 0.6521 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.1793, allocations: 15.92 kB / 0.6522 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1794, allocations: 32.19 kB / 0.6522 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1794, allocations: 0 / 0.6522 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1794, allocations: 11.94 kB / 0.6522 GB, free: 1.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.1795, allocations: 0 / 0.6522 GB, free: 1.895 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.0004321/0.1799, allocations: 331.5 kB / 0.6525 GB, free: 1.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.18, allocations: 12.61 kB / 0.6525 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.18, allocations: 34.69 kB / 0.6526 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.1801, allocations: 12.89 kB / 0.6526 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1803, allocations: 166.2 kB / 0.6527 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1803, allocations: 12.38 kB / 0.6527 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1803, allocations: 384 / 0.6527 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1804, allocations: 42.25 kB / 0.6528 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1805, allocations: 7.875 kB / 0.6528 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1805, allocations: 3.984 kB / 0.6528 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1805, allocations: 4 kB / 0.6528 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.1806, allocations: 19.92 kB / 0.6528 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.1807, allocations: 161.6 kB / 0.653 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.572e-05/0.1809, allocations: 46.64 kB / 0.653 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.1809, allocations: 20.97 kB / 0.653 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1809, allocations: 0 / 0.653 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.181, allocations: 38.56 kB / 0.6531 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.181, allocations: 0 / 0.6531 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002123/0.1831, allocations: 0.4902 MB / 0.6536 GB, free: 292 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.1832, allocations: 55.41 kB / 0.6536 GB, free: 224 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.1832, allocations: 89.86 kB / 0.6537 GB, free: 124 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1833, allocations: 29.7 kB / 0.6537 GB, free: 88 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.1833, allocations: 80.14 kB / 0.6538 GB, free: 4 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.1834, allocations: 31.94 kB / 0.6538 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.1835, allocations: 21.7 kB / 0.6538 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1836, allocations: 318.8 kB / 0.6542 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.1837, allocations: 19.98 kB / 0.6542 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/0.1837, allocations: 20 kB / 0.6542 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1838, allocations: 60.84 kB / 0.6542 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1838, allocations: 3.938 kB / 0.6543 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001647/0.184, allocations: 101.5 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.184, allocations: 8 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.184, allocations: 0 / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1841, allocations: 0 / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1842, allocations: 15.94 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1842, allocations: 0 / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.1843, allocations: 4 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.1843, allocations: 7.922 kB / 0.6544 GB, free: 15.38 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 8.894e-05/0.1844, allocations: 113.8 kB / 0.6545 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.1844, allocations: 3.938 kB / 0.6545 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.1845, allocations: 15.97 kB / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1845, allocations: 4 kB / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1845, allocations: 0 / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1845, allocations: 0 / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1847, allocations: 179.5 kB / 0.6547 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.1847, allocations: 3.938 kB / 0.6547 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1848, allocations: 12 kB / 0.6547 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1848, allocations: 3.984 kB / 0.6547 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1848, allocations: 4 kB / 0.6547 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1849, allocations: 448 / 0.6547 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1849, allocations: 3.938 kB / 0.6547 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1851, allocations: 145.2 kB / 0.6549 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.1852, allocations: 85 kB / 0.6549 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1852, allocations: 12.03 kB / 0.6549 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1853, allocations: 4 kB / 0.6549 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.1854, allocations: 3.984 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.1854, allocations: 4 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.1854, allocations: 79.34 kB / 0.655 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1854, allocations: 0 / 0.655 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001919/0.1856, allocations: 12 kB / 0.655 GB, free: 14.61 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.0005672/0.1862, allocations: 0.6866 MB / 0.6557 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1864, allocations: 59.92 kB / 0.6558 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1864, allocations: 4.062 kB / 0.6558 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.1864, allocations: 32.27 kB / 0.6558 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1867, allocations: 13.11 kB / 0.6558 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1883, allocations: 1.269 MB / 0.6571 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1886, allocations: 0.6768 MB / 0.6577 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.628e-05/0.1887, allocations: 8 kB / 0.6577 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.1887, allocations: 19.44 kB / 0.6577 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of SimCode: time 1.853e-06/0.1887, allocations: 0 / 0.6577 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.2142, allocations: 1.649 MB / 0.6594 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.102, allocations: 13.78 kB / 0.6594 GB, free: 10.23 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)