Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001372/0.001372, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001375/0.001375, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.523/1.523, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8561/0.8561, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 70.5 kB / 0.5736 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1668, allocations: 78.86 MB / 0.6506 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00252/0.1693, allocations: 1.266 MB / 0.6518 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1705, allocations: 0.6417 MB / 0.6524 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.1705, allocations: 0 / 0.6524 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.1706, allocations: 7.875 kB / 0.6524 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.1706, allocations: 11.92 kB / 0.6525 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.1711, allocations: 103.5 kB / 0.6526 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.1712, allocations: 27.86 kB / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.1712, allocations: 7.938 kB / 0.6526 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.1712, allocations: 11.98 kB / 0.6526 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.1713, allocations: 11.98 kB / 0.6526 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1713, allocations: 0 / 0.6526 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.1717, allocations: 147.8 kB / 0.6528 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.1717, allocations: 3.938 kB / 0.6528 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.1717, allocations: 4 kB / 0.6528 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.1719, allocations: 95.98 kB / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1719, allocations: 0 / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1719, allocations: 0 / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1719, allocations: 4 kB / 0.6529 GB, free: 1.23 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.0005193/0.1725, allocations: 363.2 kB / 0.6532 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1725, allocations: 8.625 kB / 0.6532 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.1726, allocations: 46.69 kB / 0.6533 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/0.173, allocations: 24.91 kB / 0.6533 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1731, allocations: 164.4 kB / 0.6534 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1731, allocations: 4.375 kB / 0.6534 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1732, allocations: 8.359 kB / 0.6534 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1734, allocations: 62.16 kB / 0.6535 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1734, allocations: 3.938 kB / 0.6535 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1734, allocations: 0 / 0.6535 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1734, allocations: 0 / 0.6535 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1735, allocations: 27.97 kB / 0.6535 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.1737, allocations: 161.7 kB / 0.6537 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.1741, allocations: 70.5 kB / 0.6538 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.1742, allocations: 24.94 kB / 0.6538 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1742, allocations: 8 kB / 0.6538 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1742, allocations: 38.55 kB / 0.6538 GB, free: 64 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1742, allocations: 0 / 0.6538 GB, free: 64 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003441/0.1777, allocations: 0.5759 MB / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1778, allocations: 59.34 kB / 0.6544 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.1778, allocations: 89.86 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1779, allocations: 33.7 kB / 0.6546 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.1779, allocations: 84.12 kB / 0.6546 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.178, allocations: 15.84 kB / 0.6547 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.178, allocations: 25.7 kB / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1782, allocations: 327 kB / 0.655 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1783, allocations: 35.97 kB / 0.655 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1785, allocations: 35.97 kB / 0.6551 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.1788, allocations: 84.81 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1788, allocations: 0 / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003779/0.1792, allocations: 125.5 kB / 0.6553 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1792, allocations: 4 kB / 0.6553 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1792, allocations: 0 / 0.6553 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1792, allocations: 8 kB / 0.6553 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.1795, allocations: 19.97 kB / 0.6553 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1795, allocations: 0 / 0.6553 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.1796, allocations: 7.984 kB / 0.6553 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1797, allocations: 4 kB / 0.6553 GB, free: 14.44 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 9.261e-05/0.1797, allocations: 113.8 kB / 0.6554 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1798, allocations: 7.922 kB / 0.6554 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.1798, allocations: 11.97 kB / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1799, allocations: 4 kB / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1799, allocations: 3.938 kB / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1799, allocations: 0 / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.1801, allocations: 191.5 kB / 0.6556 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1801, allocations: 0 / 0.6556 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.1803, allocations: 31.97 kB / 0.6557 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1803, allocations: 0 / 0.6557 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1803, allocations: 15.92 kB / 0.6557 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1804, allocations: 0 / 0.6557 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1804, allocations: 0 / 0.6557 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.1809, allocations: 185 kB / 0.6558 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.181, allocations: 85.08 kB / 0.6559 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.181, allocations: 0 / 0.6559 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1812, allocations: 15.92 kB / 0.6559 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1813, allocations: 64 / 0.6559 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.1813, allocations: 11.98 kB / 0.656 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.1813, allocations: 79.28 kB / 0.656 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1813, allocations: 0 / 0.656 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000256/0.1816, allocations: 35.86 kB / 0.6561 GB, free: 13.56 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.001015/0.1826, allocations: 0.7529 MB / 0.6568 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.183, allocations: 87.98 kB / 0.6569 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.183, allocations: 0 / 0.6569 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.1832, allocations: 51.89 kB / 0.6569 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1834, allocations: 11.08 kB / 0.6569 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1856, allocations: 1.345 MB / 0.6583 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1859, allocations: 0.6807 MB / 0.6589 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.1861, allocations: 32.42 kB / 0.6589 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.1862, allocations: 19.41 kB / 0.659 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.235e-06/0.1862, allocations: 0 / 0.659 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.2119, allocations: 2.495 MB / 0.6614 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.25, allocations: 12.5 kB / 0.6614 GB, free: 8.125 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)