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.008313/0.008313, allocations: 96.91 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 192 kB / 16.67 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002628/0.002628, allocations: 270.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 178.6 MB / 0.5074 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 107.8 kB / 0.6943 GB, free: 3.578 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5105, allocations: 89.14 MB / 0.7814 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.003142/0.5137, allocations: 1.258 MB / 0.7826 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.5146, allocations: 312.6 kB / 0.7829 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.5147, allocations: 0 / 0.7829 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.5148, allocations: 3.938 kB / 0.7829 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.5148, allocations: 4.797 kB / 0.7829 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.5152, allocations: 57.47 kB / 0.7829 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.5153, allocations: 13.94 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.5154, allocations: 3.297 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.5154, allocations: 8.312 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.027e-05/0.5155, allocations: 12.94 kB / 0.783 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.5155, allocations: 0 / 0.783 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.5157, allocations: 70.42 kB / 0.7831 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.5157, allocations: 6.391 kB / 0.7831 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.5157, allocations: 7.312 kB / 0.7831 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.5159, allocations: 56.22 kB / 0.7831 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5159, allocations: 0 / 0.7831 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5159, allocations: 0 / 0.7831 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.5159, allocations: 0 / 0.7831 GB, free: 12.66 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.0004494/0.5164, allocations: 333.7 kB / 0.7834 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5164, allocations: 9.469 kB / 0.7834 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.5165, allocations: 31.55 kB / 0.7835 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.5166, allocations: 12.12 kB / 0.7835 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.5167, allocations: 164.9 kB / 0.7836 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.5168, allocations: 6 kB / 0.7837 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.5168, allocations: 7.406 kB / 0.7837 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.5169, allocations: 43.48 kB / 0.7837 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.5169, allocations: 7.875 kB / 0.7837 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.517, allocations: 0 / 0.7837 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.517, allocations: 1.5 kB / 0.7837 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.72e-05/0.517, allocations: 19.52 kB / 0.7837 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.5172, allocations: 152.5 kB / 0.7839 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.5174, allocations: 50.41 kB / 0.7839 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.5175, allocations: 18.39 kB / 0.7839 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.5175, allocations: 1.156 kB / 0.7839 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.5176, allocations: 32.88 kB / 0.784 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 3.506e-06/0.5176, allocations: 0 / 0.784 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001469/0.519, allocations: 415.1 kB / 0.7844 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.5191, allocations: 53.23 kB / 0.7844 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.5192, allocations: 89.86 kB / 0.7845 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.5192, allocations: 27.28 kB / 0.7845 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.5192, allocations: 80.14 kB / 0.7846 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.5193, allocations: 24.12 kB / 0.7846 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.5193, allocations: 24.73 kB / 0.7847 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5195, allocations: 313.5 kB / 0.785 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.5195, allocations: 19.92 kB / 0.785 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.5196, allocations: 14.22 kB / 0.785 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.603e-05/0.5197, allocations: 46.59 kB / 0.785 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5197, allocations: 0 / 0.785 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001343/0.5198, allocations: 78 kB / 0.7851 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5199, allocations: 10.33 kB / 0.7851 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5199, allocations: 0 / 0.7851 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5199, allocations: 5.531 kB / 0.7851 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.52, allocations: 11.55 kB / 0.7851 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.52, allocations: 1.188 kB / 0.7851 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.52, allocations: 1.125 kB / 0.7851 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.5201, allocations: 2.109 kB / 0.7851 GB, free: 10.68 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.102e-05/0.5201, allocations: 113.3 kB / 0.7852 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.5202, allocations: 5.281 kB / 0.7852 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.5204, allocations: 103.2 kB / 0.7853 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5204, allocations: 1.938 kB / 0.7853 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5204, allocations: 0 / 0.7853 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5204, allocations: 0.5625 kB / 0.7853 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.5206, allocations: 168 kB / 0.7855 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5206, allocations: 0 / 0.7855 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.031e-05/0.5207, allocations: 11.78 kB / 0.7855 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5207, allocations: 9.406 kB / 0.7855 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.5207, allocations: 0.5156 kB / 0.7855 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5207, allocations: 1.375 kB / 0.7855 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5207, allocations: 4.547 kB / 0.7855 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.5209, allocations: 119.3 kB / 0.7856 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.521, allocations: 85.64 kB / 0.7857 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.521, allocations: 2.156 kB / 0.7857 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.5211, allocations: 13.45 kB / 0.7857 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.5212, allocations: 3.5 kB / 0.7857 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5212, allocations: 1.688 kB / 0.7857 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.5212, allocations: 76.59 kB / 0.7858 GB, free: 10 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5212, allocations: 0 / 0.7858 GB, free: 10 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001855/0.5214, allocations: 7.594 kB / 0.7858 GB, free: 10 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.0005151/0.5219, allocations: 0.677 MB / 0.7865 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.5221, allocations: 41.77 kB / 0.7865 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.5221, allocations: 1.281 kB / 0.7865 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.5221, allocations: 26.08 kB / 0.7866 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.5223, allocations: 6.031 kB / 0.7866 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.5234, allocations: 1.182 MB / 0.7877 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.5237, allocations: 0.6827 MB / 0.7884 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.813e-05/0.5238, allocations: 13.67 kB / 0.7884 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.5239, allocations: 11.2 kB / 0.7884 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5239, allocations: 0 / 0.7884 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.5465, allocations: 1.677 MB / 0.79 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.44, allocations: 8.406 kB / 0.7901 GB, free: 7.152 MB / 0.5606 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)