Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",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.001256/0.001256, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002429/0.002429, allocations: 285.7 kB / 290.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003078/0.003078, allocations: 103.1 kB / 0.6066 GB, free: 24.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1869, allocations: 89.15 MB / 0.6936 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002811/0.1897, allocations: 1.245 MB / 0.6948 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1908, allocations: 0.6243 MB / 0.6954 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.1909, allocations: 0 / 0.6954 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.1909, allocations: 4.688 kB / 0.6955 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.1909, allocations: 0 / 0.6955 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1914, allocations: 133 kB / 0.6956 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.479e-05/0.1915, allocations: 15.94 kB / 0.6956 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.1915, allocations: 3.984 kB / 0.6956 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.1915, allocations: 6.844 kB / 0.6956 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.1916, allocations: 4 kB / 0.6956 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.1916, allocations: 0 / 0.6956 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.192, allocations: 223.6 kB / 0.6958 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.192, allocations: 7.922 kB / 0.6958 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.192, allocations: 8 kB / 0.6958 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.1923, allocations: 132 kB / 0.696 GB, free: 1.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1923, allocations: 0.5 kB / 0.696 GB, free: 1.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1923, allocations: 0.5 kB / 0.696 GB, free: 1.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1923, allocations: 0 / 0.696 GB, free: 1.75 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.0005105/0.1929, allocations: 348.6 kB / 0.6963 GB, free: 1.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1929, allocations: 9.5 kB / 0.6963 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.1929, allocations: 30.75 kB / 0.6963 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.1931, allocations: 12.92 kB / 0.6963 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1932, allocations: 161 kB / 0.6965 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1933, allocations: 5.938 kB / 0.6965 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.1933, allocations: 384 / 0.6965 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1934, allocations: 46.23 kB / 0.6966 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1935, allocations: 3.938 kB / 0.6966 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1935, allocations: 4.562 kB / 0.6966 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1935, allocations: 0 / 0.6966 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.1935, allocations: 20.52 kB / 0.6966 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.1938, allocations: 168.2 kB / 0.6967 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.194, allocations: 38.56 kB / 0.6968 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.194, allocations: 16.86 kB / 0.6968 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.194, allocations: 0 / 0.6968 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1941, allocations: 36.06 kB / 0.6968 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1941, allocations: 0 / 0.6968 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007678/0.1949, allocations: 310.4 kB / 0.6971 GB, free: 356 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.1949, allocations: 51.41 kB / 0.6972 GB, free: 292 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.195, allocations: 93.86 kB / 0.6973 GB, free: 188 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.195, allocations: 29.7 kB / 0.6973 GB, free: 152 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.1951, allocations: 84.14 kB / 0.6974 GB, free: 64 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.1951, allocations: 19.64 kB / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.1951, allocations: 21.72 kB / 0.6974 GB, free: 16 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1953, allocations: 318.8 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.1954, allocations: 11.98 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/0.1954, allocations: 11.94 kB / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.849e-05/0.1955, allocations: 36.84 kB / 0.6978 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1955, allocations: 0 / 0.6978 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001057/0.1956, allocations: 69.67 kB / 0.6978 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1956, allocations: 11.94 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1956, allocations: 0 / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1956, allocations: 0 / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.1957, allocations: 12 kB / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1957, allocations: 4.125 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.1958, allocations: 12 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1958, allocations: 0 / 0.6979 GB, free: 15.52 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 8.673e-05/0.1959, allocations: 113.8 kB / 0.698 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.1959, allocations: 3.938 kB / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.196, allocations: 73.91 kB / 0.6981 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.196, allocations: 4 kB / 0.6981 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1961, allocations: 0 / 0.6981 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1961, allocations: 4 kB / 0.6981 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.1962, allocations: 157.7 kB / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1962, allocations: 0 / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.1963, allocations: 12 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1963, allocations: 3.938 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1963, allocations: 4 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1963, allocations: 0 / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1963, allocations: 0 / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1965, allocations: 105 kB / 0.6983 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.1965, allocations: 85.08 kB / 0.6984 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.1966, allocations: 3.938 kB / 0.6984 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.1966, allocations: 4 kB / 0.6984 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.1966, allocations: 3.984 kB / 0.6984 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1967, allocations: 4 kB / 0.6984 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.1967, allocations: 75.28 kB / 0.6985 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1967, allocations: 0 / 0.6985 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000181/0.1969, allocations: 8 kB / 0.6985 GB, free: 14.77 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.0005345/0.1974, allocations: 0.6516 MB / 0.6991 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1976, allocations: 32 kB / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1976, allocations: 0 / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.1976, allocations: 27.86 kB / 0.6992 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1978, allocations: 4.719 kB / 0.6992 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1989, allocations: 1.146 MB / 0.7003 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1992, allocations: 0.6768 MB / 0.701 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.1993, allocations: 4 kB / 0.701 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.1993, allocations: 11.42 kB / 0.701 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1993, allocations: 4 kB / 0.701 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.2236, allocations: 1.375 MB / 0.7023 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.683, allocations: 14 kB / 0.7024 GB, free: 10.88 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb_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_amb.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1)