Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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.DewPointTemperatureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",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.00808/0.00808, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.001877/0.001877, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.44/1.44, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 283 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.034/1.034, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002672, allocations: 95.98 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1885, allocations: 86.98 MB / 0.7659 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002423/0.191, allocations: 1.252 MB / 0.7672 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.1917, allocations: 307 kB / 0.7674 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.1917, allocations: 0 / 0.7674 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.1917, allocations: 3.938 kB / 0.7674 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.858e-05/0.1918, allocations: 0 / 0.7674 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1921, allocations: 59.75 kB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.1922, allocations: 15.97 kB / 0.7675 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.1922, allocations: 0 / 0.7675 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.1922, allocations: 11.88 kB / 0.7675 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.1923, allocations: 11.98 kB / 0.7675 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1923, allocations: 0 / 0.7675 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1925, allocations: 75.92 kB / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.1925, allocations: 7.984 kB / 0.7676 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.1926, allocations: 7.938 kB / 0.7676 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1927, allocations: 40.16 kB / 0.7677 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1927, allocations: 0 / 0.7677 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1927, allocations: 4 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.1927, allocations: 0 / 0.7677 GB, free: 7.082 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004262/0.1932, allocations: 335.4 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1932, allocations: 12.03 kB / 0.768 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.1933, allocations: 38.75 kB / 0.768 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.1934, allocations: 16.88 kB / 0.7681 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1935, allocations: 160.4 kB / 0.7682 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1935, allocations: 4.312 kB / 0.7682 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1936, allocations: 4.375 kB / 0.7682 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1937, allocations: 46.25 kB / 0.7683 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.1937, allocations: 7.875 kB / 0.7683 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1937, allocations: 7.922 kB / 0.7683 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1937, allocations: 3.984 kB / 0.7683 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.731e-05/0.1938, allocations: 12 kB / 0.7683 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.194, allocations: 157.7 kB / 0.7684 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1942, allocations: 42.61 kB / 0.7685 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.1942, allocations: 20.94 kB / 0.7685 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1942, allocations: 4 kB / 0.7685 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1943, allocations: 38.5 kB / 0.7685 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1943, allocations: 4 kB / 0.7685 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001346/0.1956, allocations: 394.2 kB / 0.7689 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.1957, allocations: 51.41 kB / 0.769 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.741e-05/0.1957, allocations: 89.86 kB / 0.7691 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1958, allocations: 25.7 kB / 0.7691 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.1958, allocations: 88.14 kB / 0.7692 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.1959, allocations: 23.78 kB / 0.7692 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.1959, allocations: 17.72 kB / 0.7692 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1961, allocations: 314.8 kB / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.1961, allocations: 23.97 kB / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.1961, allocations: 15.98 kB / 0.7695 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.828e-05/0.1962, allocations: 40.86 kB / 0.7696 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1962, allocations: 0 / 0.7696 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001406/0.1964, allocations: 77.62 kB / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1964, allocations: 11.94 kB / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1964, allocations: 3.984 kB / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1964, allocations: 0 / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.1966, allocations: 16 kB / 0.7697 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1966, allocations: 0 / 0.7697 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.1966, allocations: 0 / 0.7697 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1966, allocations: 0 / 0.7697 GB, free: 4.734 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 (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 8.163e-05/0.1967, allocations: 113.8 kB / 0.7698 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.1967, allocations: 7.938 kB / 0.7698 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.197, allocations: 101.5 kB / 0.7699 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.197, allocations: 0 / 0.7699 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.197, allocations: 0 / 0.7699 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.197, allocations: 3.938 kB / 0.7699 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.1971, allocations: 165.7 kB / 0.7701 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1971, allocations: 4 kB / 0.7701 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.1972, allocations: 15.98 kB / 0.7701 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1973, allocations: 7.875 kB / 0.7701 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1973, allocations: 4.062 kB / 0.7701 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1973, allocations: 0 / 0.7701 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1973, allocations: 4 kB / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1975, allocations: 121 kB / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.1976, allocations: 85.08 kB / 0.7703 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1976, allocations: 4.391 kB / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.1977, allocations: 4 kB / 0.7703 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.1977, allocations: 3.984 kB / 0.7703 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1977, allocations: 4 kB / 0.7703 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.1978, allocations: 75.28 kB / 0.7704 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1978, allocations: 0 / 0.7704 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001869/0.198, allocations: 12 kB / 0.7704 GB, free: 3.91 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 (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 Backend phase and start with SimCode phase: time 0.0005429/0.1985, allocations: 0.6751 MB / 0.7711 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.1987, allocations: 43.97 kB / 0.7711 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1987, allocations: 0 / 0.7711 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.509e-05/0.1987, allocations: 27.94 kB / 0.7711 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.199, allocations: 17.83 kB / 0.7711 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.2002, allocations: 1.193 MB / 0.7723 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.2005, allocations: 0.6807 MB / 0.773 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.765e-05/0.2006, allocations: 8 kB / 0.773 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.2006, allocations: 19.42 kB / 0.773 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.2006, allocations: 0 / 0.773 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3705/0.5711, allocations: 1.661 MB / 0.7746 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.245, allocations: 7.797 kB / 0.7746 GB, free: 14.38 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_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_DewPointTemperatureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1)