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.005703/0.005703, allocations: 102 kB / 15.73 MB, free: 6.441 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.001511/0.001511, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.836/0.836, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 72.88 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1741, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002411/0.1766, allocations: 1.25 MB / 0.6604 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000531/0.1772, allocations: 233.7 kB / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.1772, allocations: 0 / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.1772, allocations: 0 / 0.6607 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.311e-05/0.1773, allocations: 3.938 kB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1776, allocations: 51.81 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.819e-05/0.1777, allocations: 15.98 kB / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.1777, allocations: 4 kB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.1778, allocations: 11.92 kB / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.1778, allocations: 7.938 kB / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1779, allocations: 0 / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.178, allocations: 47.95 kB / 0.6608 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.178, allocations: 7.984 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.178, allocations: 7.922 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1782, allocations: 48.17 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1782, allocations: 3.938 kB / 0.6609 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1782, allocations: 0 / 0.6609 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.1782, allocations: 0 / 0.6609 GB, free: 12.26 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.0004566/0.1787, allocations: 337.1 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1787, allocations: 12.03 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.1788, allocations: 30.75 kB / 0.6612 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.1789, allocations: 24.88 kB / 0.6612 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1791, allocations: 160.4 kB / 0.6614 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1791, allocations: 384 / 0.6614 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.1791, allocations: 12.36 kB / 0.6614 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1792, allocations: 42.25 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1793, allocations: 3.938 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1793, allocations: 3.938 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1793, allocations: 0 / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.655e-05/0.1793, allocations: 12 kB / 0.6615 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.1795, allocations: 165.7 kB / 0.6616 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1797, allocations: 42.56 kB / 0.6617 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.1797, allocations: 20.98 kB / 0.6617 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1797, allocations: 3.984 kB / 0.6617 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1798, allocations: 30.56 kB / 0.6617 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1798, allocations: 0 / 0.6617 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002142/0.1819, allocations: 0.4942 MB / 0.6622 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.182, allocations: 51.41 kB / 0.6623 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.582e-05/0.182, allocations: 89.86 kB / 0.6623 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1821, allocations: 33.7 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.1821, allocations: 84.14 kB / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.1822, allocations: 27.73 kB / 0.6625 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.1822, allocations: 21.72 kB / 0.6625 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1824, allocations: 314.8 kB / 0.6628 GB, free: 10 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.1824, allocations: 24 kB / 0.6628 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/0.1825, allocations: 23.98 kB / 0.6628 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1826, allocations: 68.91 kB / 0.6629 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1826, allocations: 4 kB / 0.6629 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001572/0.1828, allocations: 89.58 kB / 0.663 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1828, allocations: 11.98 kB / 0.663 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1828, allocations: 3.938 kB / 0.663 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1828, allocations: 3.938 kB / 0.663 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.183, allocations: 16 kB / 0.663 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.183, allocations: 0 / 0.663 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.1831, allocations: 0 / 0.663 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1831, allocations: 4 kB / 0.663 GB, free: 9.75 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 9.252e-05/0.1832, allocations: 114.5 kB / 0.6631 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.1832, allocations: 11.92 kB / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.1833, allocations: 11.97 kB / 0.6632 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1833, allocations: 0 / 0.6632 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1833, allocations: 448 / 0.6632 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1833, allocations: 0 / 0.6632 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1835, allocations: 175.5 kB / 0.6633 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1835, allocations: 4 kB / 0.6633 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.1836, allocations: 23.86 kB / 0.6634 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1836, allocations: 0 / 0.6634 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1836, allocations: 0 / 0.6634 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1836, allocations: 4 kB / 0.6634 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1836, allocations: 0 / 0.6634 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1839, allocations: 149.1 kB / 0.6635 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.184, allocations: 85 kB / 0.6636 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.184, allocations: 4 kB / 0.6636 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1841, allocations: 4.031 kB / 0.6636 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1842, allocations: 7.984 kB / 0.6636 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1842, allocations: 4.062 kB / 0.6636 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.1842, allocations: 75.28 kB / 0.6637 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1842, allocations: 0 / 0.6637 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001989/0.1844, allocations: 16.09 kB / 0.6637 GB, free: 8.965 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.0005899/0.185, allocations: 0.6787 MB / 0.6644 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1852, allocations: 71.97 kB / 0.6644 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1852, allocations: 0 / 0.6644 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.1853, allocations: 24 kB / 0.6645 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.1856, allocations: 11.98 kB / 0.6645 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1871, allocations: 1.279 MB / 0.6657 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1875, allocations: 0.6845 MB / 0.6664 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.254e-05/0.1876, allocations: 15.98 kB / 0.6664 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.1876, allocations: 11.44 kB / 0.6664 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.1876, allocations: 384 / 0.6664 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.2121, allocations: 1.638 MB / 0.668 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.279, allocations: 8.969 kB / 0.668 GB, free: 4.609 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)