Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_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.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_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.001089/0.001089, 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.001095/0.001095, allocations: 197.1 kB / 16.53 MB, free: 6.672 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 282.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9147/0.9147, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 94.95 kB / 0.5954 GB, free: 27.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.00236/0.1545, allocations: 1.238 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000856/0.1554, allocations: 0.6142 MB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.1554, allocations: 3.938 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.1555, allocations: 2.031 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.1555, allocations: 3.984 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.1559, allocations: 135.4 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.663e-05/0.156, allocations: 16.55 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.156, allocations: 0 / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.1561, allocations: 9.719 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.1562, allocations: 7.984 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1562, allocations: 3.984 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.1565, allocations: 211.7 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.1565, allocations: 8.797 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.1566, allocations: 3.984 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1568, allocations: 140.7 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1568, allocations: 0 / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1568, allocations: 0.625 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.1568, allocations: 0 / 0.6826 GB, free: 14.19 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.0003971/0.1572, allocations: 348.8 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1573, allocations: 8.031 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.1573, allocations: 35.47 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1575, allocations: 12.92 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.501e-05/0.1576, allocations: 160.4 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.1576, allocations: 384 / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1576, allocations: 8.375 kB / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/0.1577, allocations: 34.25 kB / 0.6832 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1577, allocations: 11.86 kB / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1578, allocations: 8 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1578, allocations: 0 / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.1578, allocations: 4 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.1579, allocations: 157.7 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1581, allocations: 42.61 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.1582, allocations: 24.92 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1582, allocations: 0 / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1582, allocations: 38.5 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1582, allocations: 0 / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005831/0.1588, allocations: 310.2 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1588, allocations: 55.41 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.435e-05/0.1589, allocations: 89.86 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1589, allocations: 25.7 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.1589, allocations: 84.14 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.159, allocations: 19.66 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.159, allocations: 29.7 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1592, allocations: 318.8 kB / 0.6844 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.1592, allocations: 8 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.1592, allocations: 15.98 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.1593, allocations: 28.8 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1593, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.833e-05/0.1594, allocations: 65.62 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1594, allocations: 7.938 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1594, allocations: 0 / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1595, allocations: 0 / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.1595, allocations: 23.98 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1595, allocations: 240 / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.1596, allocations: 0 / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.1596, allocations: 0 / 0.6845 GB, free: 11.97 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 7.299e-05/0.1597, allocations: 114.5 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.1597, allocations: 3.938 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.1598, allocations: 85.45 kB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1598, allocations: 4 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1598, allocations: 4 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1598, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.1599, allocations: 153.7 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.16, allocations: 4 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.802e-05/0.16, allocations: 11.98 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.16, allocations: 3.938 kB / 0.6849 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.1601, allocations: 8 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1601, allocations: 0 / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1601, allocations: 0 / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1602, allocations: 109 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.1603, allocations: 85.03 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1603, allocations: 0 / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.1603, allocations: 4.031 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.1604, allocations: 4 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1604, allocations: 8.062 kB / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.443e-05/0.1604, allocations: 75.28 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1604, allocations: 0 / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001742/0.1606, allocations: 4 kB / 0.6852 GB, free: 11.2 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.0003937/0.161, allocations: 0.6553 MB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.882e-05/0.1611, allocations: 31.98 kB / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1611, allocations: 0 / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.1612, allocations: 27.92 kB / 0.6859 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.1613, allocations: 9.75 kB / 0.6859 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.1622, allocations: 1.167 MB / 0.687 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.1624, allocations: 0.6768 MB / 0.6877 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.018e-05/0.1625, allocations: 12.3 kB / 0.6877 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.1625, allocations: 11.44 kB / 0.6877 GB, free: 8.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1625, allocations: 0 / 0.6877 GB, free: 8.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.1793, allocations: 1.35 MB / 0.689 GB, free: 7.324 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.294, allocations: 12.62 kB / 0.689 GB, free: 7.32 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_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_InverseDewPointTemperatureDerivativeCheck_amb.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1)