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.001726/0.001726, allocations: 112.5 kB / 15.73 MB, free: 76 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.001306/0.001306, allocations: 192.2 kB / 16.67 MB, free: 6.574 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002552/0.002552, allocations: 298.2 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.13/1.13, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 100.6 kB / 0.6943 GB, free: 3.586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.5714, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002763/0.5742, allocations: 1.254 MB / 0.7826 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.5754, allocations: 0.6182 MB / 0.7832 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.5755, allocations: 0 / 0.7832 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.5755, allocations: 0 / 0.7832 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.5755, allocations: 0 / 0.7832 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.576, allocations: 132 kB / 0.7833 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.5761, allocations: 17.2 kB / 0.7833 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.5762, allocations: 2.172 kB / 0.7833 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.5762, allocations: 9.578 kB / 0.7833 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.5763, allocations: 12.72 kB / 0.7833 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.5763, allocations: 0 / 0.7833 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.5767, allocations: 213.3 kB / 0.7835 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.5767, allocations: 6.25 kB / 0.7836 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.5768, allocations: 5.781 kB / 0.7836 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.577, allocations: 131.6 kB / 0.7837 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.577, allocations: 0 / 0.7837 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5771, allocations: 1.5 kB / 0.7837 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.5771, allocations: 0 / 0.7837 GB, free: 12.34 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.0004979/0.5776, allocations: 357.2 kB / 0.784 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5776, allocations: 10.03 kB / 0.784 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.5777, allocations: 35.36 kB / 0.7841 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.5778, allocations: 13.72 kB / 0.7841 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.578, allocations: 165.5 kB / 0.7842 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.578, allocations: 1.781 kB / 0.7842 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.5781, allocations: 6.906 kB / 0.7842 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.5782, allocations: 40.19 kB / 0.7843 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5782, allocations: 3.938 kB / 0.7843 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5783, allocations: 9.25 kB / 0.7843 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5783, allocations: 0 / 0.7843 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/0.5783, allocations: 12.95 kB / 0.7843 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.5785, allocations: 152.8 kB / 0.7845 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.5787, allocations: 40.72 kB / 0.7845 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.5788, allocations: 16.75 kB / 0.7845 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.5788, allocations: 1.828 kB / 0.7845 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.5789, allocations: 44.59 kB / 0.7846 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5789, allocations: 0 / 0.7846 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0007595/0.5797, allocations: 299.1 kB / 0.7848 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.5797, allocations: 53.64 kB / 0.7849 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.5798, allocations: 89.86 kB / 0.785 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.5798, allocations: 33.64 kB / 0.785 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.5799, allocations: 88.8 kB / 0.7851 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.5799, allocations: 24.41 kB / 0.7851 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.58, allocations: 21.05 kB / 0.7851 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.5802, allocations: 315.5 kB / 0.7854 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/0.5802, allocations: 8.469 kB / 0.7854 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.5802, allocations: 12.28 kB / 0.7855 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.851e-05/0.5803, allocations: 31.16 kB / 0.7855 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5803, allocations: 1.703 kB / 0.7855 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001103/0.5805, allocations: 66.59 kB / 0.7856 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5805, allocations: 9.281 kB / 0.7856 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5805, allocations: 0 / 0.7856 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5805, allocations: 1.562 kB / 0.7856 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.5806, allocations: 11.11 kB / 0.7856 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5806, allocations: 0.6562 kB / 0.7856 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.5806, allocations: 1.594 kB / 0.7856 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.5806, allocations: 5.344 kB / 0.7856 GB, free: 10.38 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.521e-05/0.5807, allocations: 108.4 kB / 0.7857 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.5808, allocations: 9.031 kB / 0.7857 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.5809, allocations: 77.59 kB / 0.7858 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5809, allocations: 336 / 0.7858 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5809, allocations: 5.406 kB / 0.7858 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.581, allocations: 0.9844 kB / 0.7858 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.5811, allocations: 171.2 kB / 0.7859 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5811, allocations: 1.844 kB / 0.7859 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.5812, allocations: 11.44 kB / 0.7859 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.5812, allocations: 5.594 kB / 0.786 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.5812, allocations: 0 / 0.786 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5812, allocations: 5.594 kB / 0.786 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5812, allocations: 0.5625 kB / 0.786 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.5815, allocations: 110.7 kB / 0.7861 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.5815, allocations: 83.83 kB / 0.7861 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.5815, allocations: 1.734 kB / 0.7861 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.369e-05/0.5816, allocations: 1.188 kB / 0.7861 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.5816, allocations: 4.203 kB / 0.7862 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.5816, allocations: 1.281 kB / 0.7862 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.5817, allocations: 79.89 kB / 0.7862 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5817, allocations: 1.281 kB / 0.7862 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001881/0.5819, allocations: 10.25 kB / 0.7862 GB, free: 9.719 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.0005325/0.5824, allocations: 0.6541 MB / 0.7869 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.5826, allocations: 34.91 kB / 0.7869 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.5826, allocations: 1.125 kB / 0.7869 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.5826, allocations: 22.55 kB / 0.7869 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.5828, allocations: 6.844 kB / 0.7869 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.584, allocations: 1.155 MB / 0.7881 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.5844, allocations: 0.6785 MB / 0.7887 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.5845, allocations: 3.328 kB / 0.7887 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.5845, allocations: 15.3 kB / 0.7888 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5845, allocations: 1.125 kB / 0.7888 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.6097, allocations: 1.373 MB / 0.7901 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.599, allocations: 13.66 kB / 0.7901 GB, free: 6.906 MB / 0.5606 GB (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)