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.001276/0.001276, 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.00137/0.001371, allocations: 195 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00247/0.00247, allocations: 287 kB / 290.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 102.2 kB / 0.6066 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1627, allocations: 89.15 MB / 0.6936 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002441/0.1652, allocations: 1.248 MB / 0.6948 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006316/0.1659, allocations: 316.4 kB / 0.6951 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.1659, allocations: 0 / 0.6951 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.1659, allocations: 0 / 0.6951 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.166, allocations: 0 / 0.6951 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1662, allocations: 59.75 kB / 0.6952 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.371e-05/0.1663, allocations: 19.86 kB / 0.6952 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.1663, allocations: 8 kB / 0.6952 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.955e-05/0.1664, allocations: 7.984 kB / 0.6952 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.1664, allocations: 7.984 kB / 0.6952 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1664, allocations: 0 / 0.6952 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1666, allocations: 71.92 kB / 0.6953 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1666, allocations: 7.984 kB / 0.6953 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.1666, allocations: 3.938 kB / 0.6953 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.1668, allocations: 47.92 kB / 0.6954 GB, free: 2.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1668, allocations: 0 / 0.6954 GB, free: 2.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1668, allocations: 0 / 0.6954 GB, free: 2.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1668, allocations: 4 kB / 0.6954 GB, free: 2.402 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.0004214/0.1672, allocations: 335.8 kB / 0.6957 GB, free: 2.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1673, allocations: 8.031 kB / 0.6957 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.1673, allocations: 34.69 kB / 0.6957 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.1674, allocations: 12.86 kB / 0.6957 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1676, allocations: 164.4 kB / 0.6959 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1676, allocations: 384 / 0.6959 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1676, allocations: 4.375 kB / 0.6959 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1677, allocations: 54.17 kB / 0.696 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1677, allocations: 3.938 kB / 0.696 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1677, allocations: 3.984 kB / 0.696 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1678, allocations: 0 / 0.696 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.1678, allocations: 12 kB / 0.696 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.168, allocations: 157.6 kB / 0.6961 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1682, allocations: 50.55 kB / 0.6962 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.1682, allocations: 24.94 kB / 0.6962 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1682, allocations: 0 / 0.6962 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1683, allocations: 34.56 kB / 0.6962 GB, free: 1.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1683, allocations: 0 / 0.6962 GB, free: 1.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001334/0.1696, allocations: 386.2 kB / 0.6966 GB, free: 0.918 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1697, allocations: 55.41 kB / 0.6967 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.972e-05/0.1697, allocations: 97.86 kB / 0.6967 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1698, allocations: 25.7 kB / 0.6968 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.1698, allocations: 80.14 kB / 0.6968 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.1699, allocations: 23.64 kB / 0.6969 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1699, allocations: 21.72 kB / 0.6969 GB, free: 0.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1701, allocations: 314.8 kB / 0.6972 GB, free: 272 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.1701, allocations: 12 kB / 0.6972 GB, free: 260 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.408e-05/0.1701, allocations: 23.98 kB / 0.6972 GB, free: 236 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.925e-05/0.1702, allocations: 48.78 kB / 0.6973 GB, free: 184 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1702, allocations: 0 / 0.6973 GB, free: 184 kB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001357/0.1704, allocations: 77.59 kB / 0.6973 GB, free: 100 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1704, allocations: 11.92 kB / 0.6974 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1704, allocations: 4 kB / 0.6974 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1704, allocations: 0 / 0.6974 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.1705, allocations: 8 kB / 0.6974 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1706, allocations: 0 / 0.6974 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.1706, allocations: 4 kB / 0.6974 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1706, allocations: 4 kB / 0.6974 GB, free: 68 kB / 494.1 MB 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 0.0001007/0.1707, allocations: 121.7 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.1708, allocations: 7.938 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.171, allocations: 93.86 kB / 0.6976 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.171, allocations: 4 kB / 0.6976 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.171, allocations: 0 / 0.6976 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.171, allocations: 0 / 0.6976 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1712, allocations: 165.6 kB / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1712, allocations: 64 / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1713, allocations: 23.98 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1713, allocations: 3.938 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1713, allocations: 0 / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1713, allocations: 0 / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1713, allocations: 4.016 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.1715, allocations: 125.1 kB / 0.6979 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1716, allocations: 85.28 kB / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1716, allocations: 0 / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.1717, allocations: 8.031 kB / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.1717, allocations: 11.98 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1718, allocations: 0 / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.1718, allocations: 79.34 kB / 0.6981 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1718, allocations: 0 / 0.6981 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001849/0.172, allocations: 8 kB / 0.6981 GB, free: 15.24 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 (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.0005287/0.1725, allocations: 0.6671 MB / 0.6987 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.1727, allocations: 55.91 kB / 0.6988 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1727, allocations: 4.062 kB / 0.6988 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.1727, allocations: 24 kB / 0.6988 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.173, allocations: 0.6562 kB / 0.6988 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1741, allocations: 1.191 MB / 0.7 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1744, allocations: 0.6768 MB / 0.7006 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.138e-05/0.1745, allocations: 8 kB / 0.7006 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.1745, allocations: 19.42 kB / 0.7007 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1746, allocations: 0 / 0.7007 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1988, allocations: 1.656 MB / 0.7023 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.732, allocations: 15.12 kB / 0.7023 GB, free: 10.98 MB / 0.4981 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)