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.001083/0.001083, 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.001138/0.001138, allocations: 193.7 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002179, allocations: 279.1 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9085/0.9085, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 91.78 kB / 0.5954 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1503, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002612/0.1529, allocations: 1.248 MB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006778/0.1536, allocations: 299 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.1536, allocations: 0 / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1537, allocations: 3.938 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.1537, allocations: 4.484 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1541, allocations: 56.52 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.1541, allocations: 21.55 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.1542, allocations: 0 / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.586e-05/0.1542, allocations: 11.92 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.1543, allocations: 11.98 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1543, allocations: 3.031 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1545, allocations: 71.86 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.1545, allocations: 3.984 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.1545, allocations: 11.94 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1547, allocations: 48.14 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1547, allocations: 0 / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1547, allocations: 4 kB / 0.6821 GB, free: 14.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1547, allocations: 0 / 0.6821 GB, free: 14.79 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.0004133/0.1552, allocations: 328.4 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1552, allocations: 13.75 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.401e-05/0.1553, allocations: 30.75 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.1555, allocations: 8.922 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/0.1556, allocations: 164.3 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1556, allocations: 5.031 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1556, allocations: 4.375 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1557, allocations: 46.84 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1558, allocations: 8.812 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1558, allocations: 3.938 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1558, allocations: 0.5312 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.1558, allocations: 12 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.156, allocations: 154.7 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.1562, allocations: 43.77 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.1563, allocations: 24.84 kB / 0.6829 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1563, allocations: 4 kB / 0.6829 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.1563, allocations: 34.5 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1563, allocations: 0 / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001276/0.1576, allocations: 402.1 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1576, allocations: 51.41 kB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.1577, allocations: 89.86 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1577, allocations: 25.7 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.1578, allocations: 80.14 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1578, allocations: 27.64 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1579, allocations: 17.72 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.158, allocations: 314.8 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.158, allocations: 20 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.158, allocations: 19.98 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.1581, allocations: 48.98 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1581, allocations: 0 / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001278/0.1583, allocations: 81.61 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1583, allocations: 9.812 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1583, allocations: 0 / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1583, allocations: 0 / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.1584, allocations: 12 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1584, allocations: 3.938 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.1585, allocations: 8 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1585, allocations: 3.984 kB / 0.6841 GB, free: 12.45 MB / 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 6.995e-05/0.1586, allocations: 110.5 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.1586, allocations: 7.938 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.1589, allocations: 109.5 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1589, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1589, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1589, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.159, allocations: 165.7 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.159, allocations: 0 / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.533e-05/0.1591, allocations: 15.98 kB / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1591, allocations: 3.938 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1592, allocations: 336 / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1592, allocations: 0 / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1592, allocations: 8 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.1594, allocations: 117 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.1594, allocations: 85.03 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1594, allocations: 8.031 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.1595, allocations: 11.98 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.1596, allocations: 0 / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-06/0.1596, allocations: 4 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.255e-05/0.1596, allocations: 79.34 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1596, allocations: 0 / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.1598, allocations: 12 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB 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.0004435/0.1602, allocations: 0.6669 MB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.1604, allocations: 52.03 kB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1604, allocations: 0 / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.1604, allocations: 28.41 kB / 0.6855 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.1606, allocations: 8 kB / 0.6855 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.1616, allocations: 1.185 MB / 0.6867 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1619, allocations: 0.6807 MB / 0.6873 GB, free: 8.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.907e-05/0.162, allocations: 8 kB / 0.6873 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.162, allocations: 11.42 kB / 0.6873 GB, free: 8.855 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.162, allocations: 4 kB / 0.6873 GB, free: 8.852 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.1785, allocations: 1.648 MB / 0.689 GB, free: 7.391 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.101, allocations: 9.266 kB / 0.689 GB, free: 7.391 MB / 494.1 MB (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)