Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.005641/0.005641, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.002016/0.002017, allocations: 194.3 kB / 16.67 MB, free: 5.969 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 294.5 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.29/1.29, allocations: 178.5 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 107.8 kB / 0.6943 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.514, allocations: 89.12 MB / 0.7814 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001976/0.516, allocations: 1.266 MB / 0.7826 GB, free: 292 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004512/0.5165, allocations: 237 kB / 0.7828 GB, free: 104 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.5166, allocations: 0 / 0.7828 GB, free: 104 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.5166, allocations: 4.906 kB / 0.7828 GB, free: 100 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.5166, allocations: 0 / 0.7828 GB, free: 100 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.5169, allocations: 48.06 kB / 0.7829 GB, free: 64 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.517, allocations: 16.62 kB / 0.7829 GB, free: 56 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.517, allocations: 6.359 kB / 0.7829 GB, free: 52 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.5171, allocations: 12.08 kB / 0.7829 GB, free: 44 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.5172, allocations: 11.58 kB / 0.7829 GB, free: 36 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.5172, allocations: 1.875 kB / 0.7829 GB, free: 36 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.5173, allocations: 39.84 kB / 0.783 GB, free: 20 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.5173, allocations: 9.203 kB / 0.783 GB, free: 12 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.5173, allocations: 6.5 kB / 0.783 GB, free: 8 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.5175, allocations: 41.81 kB / 0.783 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5175, allocations: 0.875 kB / 0.783 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5175, allocations: 0 / 0.783 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.5175, allocations: 4 kB / 0.783 GB, free: 15.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004444/0.518, allocations: 346.7 kB / 0.7833 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.518, allocations: 9.875 kB / 0.7834 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.518, allocations: 32.31 kB / 0.7834 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.5182, allocations: 10.39 kB / 0.7834 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.5183, allocations: 165.6 kB / 0.7836 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.5183, allocations: 1.781 kB / 0.7836 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.5184, allocations: 9.844 kB / 0.7836 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.5185, allocations: 46.53 kB / 0.7836 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5185, allocations: 3.938 kB / 0.7836 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.5185, allocations: 1.5 kB / 0.7836 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5185, allocations: 0 / 0.7836 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.009e-05/0.5186, allocations: 15.45 kB / 0.7836 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.5188, allocations: 159.1 kB / 0.7838 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.746e-05/0.5189, allocations: 39.14 kB / 0.7838 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.519, allocations: 28.78 kB / 0.7838 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.519, allocations: 1.531 kB / 0.7838 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.519, allocations: 31.72 kB / 0.7839 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.519, allocations: 0 / 0.7839 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.002095/0.5211, allocations: 0.4971 MB / 0.7844 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5212, allocations: 52.47 kB / 0.7844 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.764e-05/0.5212, allocations: 89.86 kB / 0.7845 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.5213, allocations: 30.8 kB / 0.7845 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.5213, allocations: 80.14 kB / 0.7846 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.5213, allocations: 32.31 kB / 0.7846 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.5214, allocations: 23.3 kB / 0.7847 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5215, allocations: 312.2 kB / 0.785 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.5216, allocations: 22.8 kB / 0.785 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.5216, allocations: 24.62 kB / 0.785 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.5218, allocations: 66.06 kB / 0.7851 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5218, allocations: 1.25 kB / 0.7851 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001521/0.5219, allocations: 96.2 kB / 0.7852 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5219, allocations: 5.219 kB / 0.7852 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.522, allocations: 4 kB / 0.7852 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.522, allocations: 448 / 0.7852 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.5221, allocations: 12.59 kB / 0.7852 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.5221, allocations: 5.547 kB / 0.7852 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.5222, allocations: 8 kB / 0.7852 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5222, allocations: 2.656 kB / 0.7852 GB, free: 13.84 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 (9): * Single equations (assignments): 9 * 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 9.099e-05/0.5223, allocations: 111.3 kB / 0.7853 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.5224, allocations: 11.03 kB / 0.7853 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.5224, allocations: 15.91 kB / 0.7853 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5224, allocations: 4 kB / 0.7853 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5224, allocations: 5.172 kB / 0.7853 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5225, allocations: 0 / 0.7853 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.5226, allocations: 180.3 kB / 0.7855 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5226, allocations: 0 / 0.7855 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.5228, allocations: 20.55 kB / 0.7855 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.5228, allocations: 0 / 0.7855 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.5228, allocations: 1.156 kB / 0.7855 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5228, allocations: 1.344 kB / 0.7855 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5228, allocations: 0 / 0.7855 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.5231, allocations: 149.7 kB / 0.7857 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.5231, allocations: 82.36 kB / 0.7857 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.5232, allocations: 1.281 kB / 0.7857 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5233, allocations: 12.27 kB / 0.7858 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.5233, allocations: 1.312 kB / 0.7858 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.5233, allocations: 2.344 kB / 0.7858 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.5234, allocations: 75.28 kB / 0.7858 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5234, allocations: 5.312 kB / 0.7858 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002444/0.5236, allocations: 18.09 kB / 0.7859 GB, free: 13.16 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 (8): * Single equations (assignments): 8 * 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.0005696/0.5242, allocations: 0.6852 MB / 0.7865 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.5244, allocations: 57.33 kB / 0.7866 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5244, allocations: 0 / 0.7866 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.5245, allocations: 38.88 kB / 0.7866 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.5247, allocations: 11.67 kB / 0.7866 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.5262, allocations: 1.271 MB / 0.7879 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.5265, allocations: 0.6794 MB / 0.7885 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.948e-05/0.5266, allocations: 6.625 kB / 0.7885 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.5266, allocations: 11.19 kB / 0.7885 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.5267, allocations: 4 kB / 0.7886 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.553, allocations: 1.66 MB / 0.7902 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.49, allocations: 17.12 kB / 0.7902 GB, free: 9.676 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_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_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)