Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.005825/0.005825, allocations: 99.62 kB / 15.73 MB, free: 6.445 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.001293/0.001293, allocations: 191.4 kB / 16.67 MB, free: 6.348 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 282.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9969/0.9969, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 95.84 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1745, allocations: 86.98 MB / 0.7659 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002248/0.1768, allocations: 1.251 MB / 0.7672 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.1773, allocations: 235.2 kB / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.1773, allocations: 0 / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1774, allocations: 0 / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.1774, allocations: 7.922 kB / 0.7674 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1777, allocations: 43.83 kB / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.991e-05/0.1778, allocations: 11.98 kB / 0.7674 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.1778, allocations: 4 kB / 0.7674 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.1778, allocations: 15.94 kB / 0.7675 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.1779, allocations: 11.97 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1779, allocations: 0 / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1781, allocations: 47.95 kB / 0.7675 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1781, allocations: 4 kB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.1781, allocations: 3.938 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.1782, allocations: 44.11 kB / 0.7676 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1782, allocations: 4 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1783, allocations: 0 / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1783, allocations: 0 / 0.7676 GB, free: 7.203 MB / 0.5606 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.0004287/0.1787, allocations: 347.3 kB / 0.7679 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1787, allocations: 12.03 kB / 0.7679 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.1788, allocations: 30.75 kB / 0.7679 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1789, allocations: 16.88 kB / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.179, allocations: 164.3 kB / 0.7681 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1791, allocations: 4.359 kB / 0.7681 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1791, allocations: 8.375 kB / 0.7681 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1792, allocations: 46.25 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1792, allocations: 3.938 kB / 0.7682 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1792, allocations: 0 / 0.7682 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1793, allocations: 0 / 0.7682 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.328e-05/0.1793, allocations: 19.92 kB / 0.7682 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.1795, allocations: 157.7 kB / 0.7683 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1796, allocations: 42.56 kB / 0.7684 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.1797, allocations: 20.98 kB / 0.7684 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1797, allocations: 4 kB / 0.7684 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1797, allocations: 30.56 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1797, allocations: 0 / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001957/0.1817, allocations: 0.4945 MB / 0.7689 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1818, allocations: 51.41 kB / 0.769 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.055e-05/0.1818, allocations: 89.86 kB / 0.7691 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1818, allocations: 29.7 kB / 0.7691 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.1819, allocations: 88.12 kB / 0.7692 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.1819, allocations: 27.73 kB / 0.7692 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.182, allocations: 21.72 kB / 0.7692 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1821, allocations: 314.8 kB / 0.7695 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.1822, allocations: 23.98 kB / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.422e-05/0.1822, allocations: 27.98 kB / 0.7696 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1823, allocations: 60.98 kB / 0.7696 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1824, allocations: 8 kB / 0.7696 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001504/0.1825, allocations: 89.58 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1825, allocations: 8 kB / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1826, allocations: 0 / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1826, allocations: 0 / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1827, allocations: 27.86 kB / 0.7697 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1827, allocations: 0 / 0.7697 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.1828, allocations: 4 kB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1828, allocations: 4 kB / 0.7698 GB, free: 4.68 MB / 0.5606 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.219e-05/0.1829, allocations: 109.8 kB / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.1829, allocations: 7.938 kB / 0.7699 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.183, allocations: 11.97 kB / 0.7699 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.183, allocations: 0 / 0.7699 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.183, allocations: 0 / 0.7699 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.183, allocations: 4 kB / 0.7699 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1832, allocations: 179.3 kB / 0.7701 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1832, allocations: 0 / 0.7701 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1833, allocations: 19.92 kB / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1834, allocations: 0 / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1834, allocations: 0 / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1834, allocations: 3.938 kB / 0.7701 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1834, allocations: 0 / 0.7701 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1836, allocations: 153.1 kB / 0.7702 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.1837, allocations: 81.05 kB / 0.7703 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1837, allocations: 0 / 0.7703 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1838, allocations: 11.98 kB / 0.7703 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.1839, allocations: 4 kB / 0.7703 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.1839, allocations: 3.984 kB / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.1839, allocations: 75.28 kB / 0.7704 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1839, allocations: 0 / 0.7704 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001914/0.1841, allocations: 16 kB / 0.7704 GB, free: 3.918 MB / 0.5606 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.0005809/0.1847, allocations: 0.6944 MB / 0.7711 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1849, allocations: 59.92 kB / 0.7711 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1849, allocations: 0 / 0.7711 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.638e-05/0.1849, allocations: 35.97 kB / 0.7712 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.1852, allocations: 11.56 kB / 0.7712 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1867, allocations: 1.279 MB / 0.7724 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1871, allocations: 0.6807 MB / 0.7731 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.39e-05/0.1871, allocations: 11.94 kB / 0.7731 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.1872, allocations: 11.44 kB / 0.7731 GB, free: 1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1872, allocations: 0 / 0.7731 GB, free: 1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3238/0.511, allocations: 1.654 MB / 0.7747 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.384, allocations: 10.34 kB / 0.7747 GB, free: 14.34 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)